login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A247958
Numbers n such that 35^n + 2 is prime.
2
0, 1, 15, 83, 1457, 3959, 5351, 5355, 41359, 50327, 54435
OFFSET
1,3
COMMENTS
After 0, all terms are odd. - Bruno Berselli, Oct 01 2014
a(12) > 2*10^5. - Robert Price, Mar 21 2015
MAPLE
A247958:=n->`if`(isprime(35^n+2), n, NULL): seq(A247958(n), n=0..1000); # Wesley Ivan Hurt, Sep 30 2014
MATHEMATICA
Select[Range[0, 10000], PrimeQ[35^# + 2] &]
PROG
(Magma) [n: n in [0..1000]| IsPrime(35^n+2)];
(PARI) is(n)=ispseudoprime(35^n+2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. similar sequences listed in A247957.
Sequence in context: A279395 A270768 A252935 * A108674 A050405 A241220
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Sep 28 2014
EXTENSIONS
a(9)-a(11) from Robert Price, Mar 21 2015
STATUS
approved