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.

A247960 Numbers n such that 41^n + 2 is prime.

Original entry on oeis.org

0, 1, 9, 23, 681, 2487
Offset: 1

Views

Author

Vincenzo Librandi, Sep 29 2014

Keywords

Comments

All terms > 0 are odd. - Robert Israel, Sep 29 2014
a(7) > 2*10^5. - Robert Price, May 08 2015

Crossrefs

Cf. similar sequences listed in A247957.

Programs

  • Magma
    [n: n in [0..600]| IsPrime( 41^n + 2 )];
    
  • Mathematica
    Select[Range[0, 2000], PrimeQ[41^# + 2] &]
  • PARI
    is(n)=ispseudoprime(41^n+2) \\ Charles R Greathouse IV, Jun 13 2017