login
A054511
Log_b 8 where b is smallest primitive root (A001918) mod n-th prime.
9
3, 3, 10, 3, 6, 3, 12, 3, 38, 39, 8, 3, 3, 3, 3, 18, 24, 12, 3, 48, 6, 3, 30, 3, 63, 36, 90, 3, 30, 3, 3, 60, 111, 3, 120, 3, 3, 3, 132, 102, 3, 120, 3, 96, 3, 63, 216, 198, 90, 205, 144, 46, 3, 192, 165, 52, 195, 3, 279, 66, 198, 3, 33, 240, 3, 3, 140, 226, 144, 3, 3, 20, 3
OFFSET
5,1
REFERENCES
Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, Table 10.2, pp. 216-217.
LINKS
MATHEMATICA
a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 8, lg++]; lg]; Array[a, 100, 5] (* Jean-François Alcover, Sep 03 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 09 2000
EXTENSIONS
More terms from James A. Sellers, Apr 09 2000
STATUS
approved