A128026 Numbers n such that (10^n - 3^n)/7 is prime.
2, 3, 5, 37, 599, 38393, 51431, 118681, 376417
Offset: 1
Links
- Jon Grantham and Andrew Granville, Fibonacci primes, primes of the form 2^n-k and beyond, arXiv:2307.07894 [math.NT], 2023.
Crossrefs
Programs
-
Mathematica
k=7; Select[ Prime[ Range[1,200] ], PrimeQ[ ((k+3)^# - 3^#)/k ]& ]
-
PARI
forprime(p=2,1e4,if(ispseudoprime((10^p-3^p)/7),print1(p", "))) \\ Charles R Greathouse IV, Jun 05 2011
Extensions
a(6)-a(7) from Robert Price, Jun 04 2011
a(8)-a(9) from Jon Grantham, Jul 29 2023
Comments