diff options
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..10b298e --- /dev/null +++ b/common.h @@ -0,0 +1,9 @@ +#ifndef COMMON_H +#define COMMON_H + +unsigned long* primes(unsigned long limit); +int isprime(unsigned long number, const unsigned long* primes); +unsigned long phi(unsigned long n, unsigned long* primelist); +int ispermutation(unsigned long a, unsigned long b); + +#endif // COMMON_H |
