A054509 Log_b 6 where b is smallest primitive root (A001918) mod n-th prime.
3, 9, 5, 15, 14, 18, 6, 25, 27, 1, 28, 38, 18, 51, 7, 40, 32, 14, 5, 73, 17, 8, 70, 83, 71, 1, 13, 73, 73, 11, 42, 88, 1, 67, 102, 134, 28, 109, 57, 160, 118, 182, 107, 44, 181, 47, 1, 73, 140, 132, 1, 49, 240, 110, 1, 59, 205, 160, 158, 174, 186, 18, 250, 122, 282, 153
Offset: 4
References
- Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, Table 10.2, pp. 216-217.
Links
- Amiram Eldar, Table of n, a(n) for n = 4..10000
Crossrefs
Programs
-
Mathematica
a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 6, lg++]; lg]; Array[a, 100, 4] (* Jean-François Alcover, Sep 03 2016 *)
Extensions
More terms from James Sellers, Apr 09 2000