A086214 Primes of the form 3^p-2 where p is prime.
7, 241, 450283905890997361, 36472996377170786401
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..6
Crossrefs
Cf. A086218.
Programs
-
Mathematica
Select[3^#-2&/@Prime[Range[20]],PrimeQ] (* Harvey P. Dale, Sep 24 2022 *)
-
PARI
xtopm1(n,k,r) = { sr=0; forprime(p=2,n, y=k^p-r; if(isprime(y),print1(y","); sr+=1./y; ); ); print(); print(sr) }
Comments