login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A121877
Numbers k such that (5^k - 3^k)/2 = A005059(k) is prime.
53
13, 19, 23, 31, 47, 127, 223, 281, 2083, 5281, 7411, 7433, 19051, 27239, 35863, 70327, 128941, 147571, 182099, 866029
OFFSET
1,1
COMMENTS
All terms are primes. Their indices are listed in A123704.
Corresponding primes are listed in A123705.
If it exists, a(17) > 125000. - Robert Price, Aug 15 2011
If it exists, a(21) > 1000000. - Jon Grantham, Jul 29 2023
LINKS
FORMULA
a(n) = prime(A123704(n)).
MATHEMATICA
Do[f=(5^n-3^n)/2; If[PrimeQ[f], Print[{n, f}]], {n, 1, 300}]
PROG
(PARI) forprime(p=2, 1e4, if(ispseudoprime((5^p-3^p)>>1), print1(p", "))) \\ Charles R Greathouse IV, Jun 16 2011
KEYWORD
nonn,hard,more
AUTHOR
Alexander Adamchuk, Aug 31 2006, Oct 08 2006
EXTENSIONS
More terms from Farideh Firoozbakht, Oct 11 2006
a(13)-a(16) from Robert Price, Aug 15 2011
a(17)-a(19) from Kellen Shenton, May 18 2022
a(20) from Jon Grantham, Jul 29 2023
STATUS
approved