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.

A002257 Numbers k such that 13*4^k + 1 is prime.

Original entry on oeis.org

1, 4, 5, 10, 14, 41, 94, 154, 158, 500, 14140, 19004, 21928, 44009, 54629, 57148, 260653, 281228, 342280, 519448, 749938, 930866
Offset: 1

Views

Author

Keywords

References

  • H. Riesel, "Prime numbers and computer methods for factorization," Progress in Mathematics, Vol. 57, Birkhauser, 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

See A032356 (n such that 13*2^n+1 is prime) for more terms.

Programs

  • Magma
    [ k: k in [1..800]|IsPrime(13*4^k+1)]; // Vincenzo Librandi, Nov 21 2010
    
  • Mathematica
    Select[Range[2000],PrimeQ[13 4^#+1]&] (* Harvey P. Dale, Jan 22 2011 *)
  • PARI
    for(k=1,10^5,if(ispseudoprime(13*4^k+1),print1(k, ", "))); /* Joerg Arndt, Apr 07 2013 */

Extensions

Added more terms (from A032356), Joerg Arndt, Apr 07 2013