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.

A130439 Even pseudoprimes to base 29.

Original entry on oeis.org

4, 14, 28, 52, 268, 364, 1876, 3484, 5356, 7294, 24388, 66788, 283276, 286492, 339556, 404236, 860692, 1153684, 1381132, 1478764, 1696708, 2073722, 2182726, 2222122, 4922164, 7790146, 8200036, 9679138, 10881052, 14863516, 15476266
Offset: 1

Views

Author

Alexander Adamchuk, May 26 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Do[ f=PowerMod[ 29, 2n-1, 2n ]; If[ f==1, Print[ 2n ] ], {n,2,500000} ]
    lst = {}; Do[ If[ PowerMod[17, 2n - 1, 2n] == 1, AppendTo[lst, 2n]], {n, 2, 2^31}]; lst (* Robert G. Wilson v, Jun 01 2007 *)
  • PARI
    is(k) = k > 2 && !(k % 2) &&  Mod(29, k)^(k-1) == 1; \\ Amiram Eldar, Sep 29 2024

Extensions

More terms from Robert G. Wilson v, Jun 01 2007