login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054512 Log_b 9 where b is smallest primitive root (A001918) mod n-th prime. 9
6, 8, 2, 8, 10, 10, 2, 16, 30, 2, 40, 34, 42, 12, 12, 52, 12, 2, 62, 2, 44, 38, 78, 34, 104, 2, 2, 14, 2, 82, 26, 12, 8, 40, 22, 54, 38, 112, 42, 168, 166, 2, 86, 2, 92, 188, 2, 148, 124, 32, 2, 100, 218, 234, 100, 2, 2, 22, 162, 18, 112, 182, 2, 292, 304, 52, 2, 14, 150, 104 (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] != 9, lg++]; lg]; Array[a, 100, 5] (* Jean-François Alcover, Sep 03 2016 *)
CROSSREFS
Cf. table in A054503.
Sequence in context: A178647 A093204 A365823 * A197267 A019255 A153895
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 09 2000
EXTENSIONS
More terms from James A. Sellers, Apr 09 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)