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.

A001771 Numbers k such that 7*2^k - 1 is prime.

Original entry on oeis.org

1, 5, 9, 17, 21, 29, 45, 177, 18381, 22529, 24557, 26109, 34857, 41957, 67421, 70209, 169085, 173489, 177977, 363929, 372897
Offset: 1

Views

Author

Keywords

Comments

k is always of the form 4*j + 1.
If k is in the sequence and m=2^(k+2)*3*(7*2^k-1) then phi(m)+sigma(m)=3m (m is in the sequence A011251). The proof is easy. - Farideh Firoozbakht, Mar 04 2005

References

  • H. Riesel, "Prime numbers and computer methods for factorization", Progress in Mathematics, Vol. 57, Birkhäuser, Boston, 1985, Chap. 4, see pp. 381-384.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[7*2^n - 1], Print[n]], {n, 1, 2500}]
  • PARI
    v=[ ]; for(n=0,2000, if(isprime(7*2^n-1),v=concat(v,n),)); v

Extensions

More terms from Douglas Burke (dburke(AT)nevada.edu).
More terms from Hugo Pfoertner, Jun 23 2004