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.

A055551 Number of base-2 Euler-Jacobi pseudoprimes (A047713) less than 10^n.

Original entry on oeis.org

0, 0, 1, 12, 36, 114, 375, 1071, 2939, 7706, 20417, 53332, 139597, 364217, 957111, 2526795, 6725234, 18069359, 48961462
Offset: 1

Views

Author

Keywords

Comments

Pomerance et al. gave the terms a(3)-a(10). Pinch gave the terms a(4)-a(13), but a(13)=124882 was wrong. He later calculated the correct value, which appears in Guy's book. - Amiram Eldar, Nov 08 2019

Examples

			Below 10^3 there is only one Euler-Jacobi pseudoprime, 561. Therefore a(3) = 1.
		

References

  • Richard K. Guy, Unsolved Problems in Number Theory, 3rd Edition, Springer, 2004, section A12, p. 44.
  • Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See p. 219.

Crossrefs

Programs

  • Mathematica
    ejpspQ[n_] := CompositeQ[n] && PowerMod[2, (n - 1)/2, n] == Mod[JacobiSymbol[2, n], n]; s = {}; c = 0; p = 10; n = 1; Do[If[ejpspQ[n], c++]; If[n > p, AppendTo[s, c]; p *= 10], {n, 1, 1000001, 2}]; s (* Amiram Eldar, Nov 08 2019 *)

Extensions

a(13) corrected and a(14)-a(19) added by Amiram Eldar, Nov 08 2019 (calculated from Feitsma & Galway's tables)