but the number should begin with digit 1 or a number greater than 1. Numbers are categorized according to the number of digits that they have and the place value of a number
How do you subtract a fraction from a whole number? How to prove that a number is not an integer? How to prove a number is an integer? How to factor large numbers? Find numbers a and b such that . What whole number is not a counting number?
Do you have a strategy to factor a number into its prime factors? I recommend you build a lookup table of the prime numbers up to sqrt of your biggest N, for a starting point. (via the sieve, so this is likely a vector<bool> isprime(sqrt(N) +1) ) Last edited on Sep 28, ...