A125882 Numbers k for which k^4+k^3-1 is prime.
2, 3, 6, 11, 13, 18, 24, 34, 38, 39, 43, 49, 52, 57, 58, 73, 74, 79, 90, 102, 104, 107, 113, 116, 122, 123, 126, 135, 139, 148, 155, 181, 183, 188, 193, 199, 203, 223, 234, 240, 247, 256, 261, 272, 273, 277, 286, 288, 298, 303, 329, 338, 344, 346, 357, 364, 366
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Do[If[PrimeQ[x^4 + x^3 - 1], Print[x]], {x, 1, 100}]
-
PARI
is(n)=isprime(n^4+n^3-1) \\ Charles R Greathouse IV, May 15 2013
Extensions
More terms from Amiram Eldar, Mar 18 2020