A005538 Numbers n such that 8*3^n + 1 is prime.
2, 7, 8, 10, 22, 52, 58, 76, 130, 143, 331, 332, 980, 1282, 1655, 4031, 4600, 18880, 89482, 130592, 323860, 872171, 1172480
Offset: 1
References
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Prime Wiki, General Proth prime of the form 8*3^n+1
- H. C. Williams and C. R. Zarnke, Some prime numbers of the forms 2*3^n+1 and 2*3^n-1, Math. Comp., 26 (1972), 995-998.
Crossrefs
Cf. A056799.
Programs
-
Mathematica
Select[Range[5000], PrimeQ[8*3^# + 1] &] (* Michael De Vlieger, Jun 26 2017 *)
-
PARI
v=[ ]; for(n=0,2000, if(isprime(8*3^n+1),v=concat(v,n),)); v
Extensions
More terms from Douglas Burke (dburke(AT)nevada.edu)
a(19)-a(20) from Robert Price, Mar 16 2014
a(21) from Paul S. Vanderveen, Feb 09 2020
a(22) from Paul S. Vanderveen, Jun 12 2020
a(23) (found May 17 2020) from Paul S. Vanderveen, Jul 04 2020
Comments