OFFSET
1,1
COMMENTS
PrimePi[ a(n) ] = {2, 5, 44, 52, 120, 127, 185, 308, 1125, 1278 ...}, the indices of the primes p.
a(14) > 4400000. - Serge Batalov, Jun 20 2023
LINKS
J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
S. S. Wagstaff, Jr., The Cunningham Project.
MATHEMATICA
Do[p=Prime[n]; f=3^p-3^((p+1)/2)+1; If[PrimeQ[f], Print[{n, p}]], {n, 1, 200}]
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Dec 02 2006
EXTENSIONS
More terms from A066408 by Serge Batalov, Mar 24 2014
a(13) from Ryan Propper and Serge Batalov, Jun 20 2023
STATUS
approved