OFFSET
1,3
COMMENTS
214250 also belongs to the sequence (but interval 35000-209600 was not searched). - Serge Batalov, Oct 30 2010
a(45) > 2*10^5. - Robert Price, May 16 2015
Confirmed a(45) = 214250. - Robert Price, May 21 2015
a(46) > 215000. - Robert Price, May 21 2015
MATHEMATICA
Do[ If[ PrimeQ[ 5*3^n + 2 ], Print[ n ] ], {n, 0, 7550} ]
Select[Range[0, 2 10^3], PrimeQ[5 3^# + 2] &] (* Vincenzo Librandi, May 16 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(5*3^n+2)]; // Vincenzo Librandi, May 16 2015
(PARI) is(n)=ispseudoprime(5*3^n+2) \\ Charles R Greathouse IV, Jun 13 2017
(PFGW) ABC2 5*3^$a + 2
a: from 0 to 10000 // Jinyuan Wang, Feb 01 2020
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Dec 26 2000
EXTENSIONS
More PRP terms from Serge Batalov, Oct 30 2010
a(41)-a(44) from Robert Price, May 16 2015
a(1)=0 prepended by Vincenzo Librandi, May 16 2015
a(45) discovered by Serge Batalov added by Robert Price, May 21 2015
STATUS
approved