A247163 Nonnegative numbers n such that abs(1/4 (n^5 - 133n^4 + 6729n^3 - 158379n^2 + 1720294n - 6823316)) is prime.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 60, 61, 64, 67, 68, 69, 74, 75, 76
Offset: 1
Keywords
Examples
4 is in this sequence since abs(1/4 (n^5 - 133n^4 + 6729n^3 - 158379n^2 + 1720294n - 6823316)) = abs((1024 - 34048 + 430656 - 2534064 + 6881176 - 6823316)/4) = 519643 is prime.
Links
- Robert Price, Table of n, a(n) for n = 1..2328
- Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
Crossrefs
Programs
-
Mathematica
Select[Range[0, 100], PrimeQ[1/4 (#^5 - 133#^4 + 6729#^3 - 158379#^2 + 1720294# - 6823316)] &]
Comments