Working with numbers (primes, modular, etc.)