A173718 Numbers n such that (9^n - 2^n)/7 is prime.
2, 3, 5, 13, 29, 37, 1021, 1399, 2137, 4493, 5521, 108553, 200807
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
Select[ Prime[ Range[1, 100000] ], PrimeQ[ (9^# - 2^#)/7 ]& ]
-
PARI
is(n)=ispseudoprime((9^n-2^n)/7) \\ Charles R Greathouse IV, Jun 06 2017
Extensions
a(12)-a(13) from Jon Grantham, Jul 29 2023
Comments