A230036 Numbers n such that (39^n + 1)/40 is prime.
3, 13, 149, 15377
Offset: 1
Links
- J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
- H. Dubner and T. Granlund, Primes of the Form (b^n+1)/(b+1), J. Integer Sequences, 3 (2000), #P00.2.7.
- H. Lifchitz, Mersenne and Fermat primes field
- Eric Weisstein's World of Mathematics, Repunit.
Crossrefs
Cf. A000978 (numbers n such that (2^n + 1)/3 is prime).
Programs
-
Mathematica
Do[ p=Prime[n]; If[ PrimeQ[ (39^p + 1)/40 ], Print[p] ], {n, 1, 9592} ]
-
PARI
is(n)=ispseudoprime((39^n+1)/40) \\ Charles R Greathouse IV, Feb 17 2017
Comments