cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A247958 Numbers n such that 35^n + 2 is prime.

Original entry on oeis.org

0, 1, 15, 83, 1457, 3959, 5351, 5355, 41359, 50327, 54435
Offset: 1

Views

Author

Vincenzo Librandi, Sep 28 2014

Keywords

Comments

After 0, all terms are odd. - Bruno Berselli, Oct 01 2014
a(12) > 2*10^5. - Robert Price, Mar 21 2015

Crossrefs

Cf. similar sequences listed in A247957.

Programs

  • Magma
    [n: n in [0..1000]| IsPrime(35^n+2)];
    
  • 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] &]
  • PARI
    is(n)=ispseudoprime(35^n+2) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

a(9)-a(11) from Robert Price, Mar 21 2015