login
A247961
Numbers n such that 45^n + 2 is prime.
2
0, 1, 2, 3, 4, 38, 40, 104, 114, 135, 417, 1251, 14786, 16720, 43831, 152659
OFFSET
1,3
COMMENTS
Terms of A016969 and A113770 (except 1) are not in the sequence. - Bruno Berselli, Oct 02 2014
a(17) > 2*10^5. - Robert Price, Sep 15 2015
MAPLE
A247961:=n->`if`(isprime(45^n+2), n, NULL): seq(A247961(n), n=1..500); # Wesley Ivan Hurt, Oct 02 2014
MATHEMATICA
Select[Range[0, 2000], PrimeQ[45^# + 2] &]
PROG
(Magma) [n: n in [0..400]| IsPrime( 45^n + 2 )];
(PARI) is(n)=ispseudoprime(45^n+2) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
Cf. similar sequences listed in A247957.
Sequence in context: A009263 A084314 A308045 * A294921 A332534 A293685
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Oct 02 2014
EXTENSIONS
a(13)-a(16) from Robert Price, Sep 15 2015
STATUS
approved