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.

A122042 Numbers n such that (2^n+n)/(n+2) is prime.

Original entry on oeis.org

13, 19, 55, 469, 3385
Offset: 1

Views

Author

Zak Seidov, Sep 14 2006

Keywords

Comments

All terms are also in A081765 = numbers n such that n+2 divides 2^(n-1)-1.

Crossrefs

Cf. A081765.

Programs

  • Mathematica
    Do[If[PrimeQ[(2^n+n)/(n+2)],Print[n]],{n,1,5000}]
  • PARI
    is(n)=ispseudoprime((2^n+n)/(n+2)) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

a(5) from Alexander Adamchuk, Sep 17 2006