OFFSET
1,1
COMMENTS
a(21) > 20000. - Jinyuan Wang, Jan 28 2020
MATHEMATICA
Do[ If[ PrimeQ[ (5*3^n - 7)/2 ], Print[n] ], {n, 0, 10000} ]
Select[Range[5100], PrimeQ[(5*3^#-7)/2]&] (* Harvey P. Dale, Jul 15 2018 *)
PROG
(PARI) is(n)=ispseudoprime((5*3^n-7)/2) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [k: k in [0..1000] | IsPrime((5*3^k - 7) div 2)]; // Jinyuan Wang, Jan 28 2020
CROSSREFS
KEYWORD
nonn,more,changed
AUTHOR
Robert G. Wilson v, Feb 19 2001
EXTENSIONS
a(18)-a(20) from Jinyuan Wang, Jan 28 2020
a(21) from Michael S. Branicky, Apr 29 2023
a(22)-a(24) from Michael S. Branicky, Oct 22 2024
STATUS
approved