|
|
A054510
|
|
Log_b 7 where b is smallest primitive root (A001918) mod n-th prime.
|
|
9
|
|
|
7, 11, 11, 6, 19, 12, 28, 32, 39, 35, 32, 14, 18, 49, 23, 1, 33, 53, 8, 81, 31, 9, 4, 43, 40, 8, 115, 96, 42, 50, 142, 67, 147, 73, 118, 95, 171, 15, 171, 104, 146, 142, 139, 210, 154, 107, 222, 1, 1, 248, 85, 79, 19, 142, 22, 182, 278, 213, 116, 140, 123, 50, 81, 318
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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] != 7, lg++]; lg]; Array[a, 100, 5] (* Jean-François Alcover, Sep 03 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|