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.

A114247 Number of Fermat pseudoprimes to base 5 less than 10^n.

Original entry on oeis.org

1, 1, 5, 20, 73, 248, 745, 1954, 5239, 13837, 36042, 92893
Offset: 1

Views

Author

Eric W. Weisstein, Nov 18 2005

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Count[Select[Range[2, 10^6], ! PrimeQ[#] && PowerMod[5, # - 1, #] == 1 &], x_ /; x < 10^n], {n, 6}]  (* Robert Price, Jun 09 2019 *)

Extensions

a(9)-a(12) from Hiroaki Yamanouchi, Sep 25 2015