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.

A054506 Log_b 3 where b is smallest primitive root (A001918) mod n-th prime.

Original entry on oeis.org

3, 1, 8, 4, 1, 13, 16, 5, 1, 26, 15, 1, 20, 17, 50, 6, 39, 26, 6, 1, 72, 1, 70, 69, 39, 70, 52, 1, 1, 72, 1, 41, 87, 81, 82, 101, 94, 27, 108, 56, 116, 84, 181, 1, 43, 1, 46, 208, 1, 74, 182, 16, 1, 50, 109, 117, 188, 1, 1, 157, 81, 164, 56, 249, 1, 314, 152, 26, 1, 186, 75
Offset: 3

Views

Author

N. J. A. Sloane, Apr 09 2000

Keywords

References

  • Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, Table 10.2, pp. 216-217.

Crossrefs

Programs

  • Mathematica
    a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 3 , lg++]; lg]; Array[a, 100, 3] (* Jean-François Alcover, Sep 03 2016 *)

Extensions

More terms from James Sellers, Apr 09 2000