PLEASE READ BEFORE YOU ANSWER:
ONLY Excel Formula Required:
One formula that can be used to generate prime numbers (many,
but not all) is x = n^2 + n + 41 where x is a prime number and n is
an integer. Plugging in consecutive integers 1, 2, 3...etc., up to
a point, will generate prime numbers. Using an Excel function,
calculate the smallest value of n where this equation fails to
produce a prime number. For the next 100 values of n, does the
formula continue to produce primes?
The smallest number is 40 at which the question will fail. So, i
know the answer and its easy to simply find but I need the
Excel Function only.
PLEASE READ BEFORE YOU ANSWER: ONLY Excel Formula Required: One formula that can be used to generate prime numbers (many
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am