5 projects tagged "numbers"
python-stdnum is a Python module to parse, validate, and reformat standard numbers and codes in different formats. It supports a large number of number formats, including: ISBN (International Standard Book Number), ISSN (International Standard Serial Number), BSN (Burgerservicenummer, the Dutch national identification number), EAN (International Article Number), SSN (U.S. Social Security Number), IMEI (International Mobile Equipment Identity), IBAN (International Bank Account Number), and more.
PalindromicPrimeFinder is a little "toy" program that can find relatively big (e.g. 1000-2000 digits) palindromic probable prime (PRP) numbers. It generates random palindromic numbers and tests them for primality using a probabilistic algorithm. It is multi-threaded and stops after a certain timeout (if no palindromic primes are found).