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!)
A054513 Log_b 10 where b is smallest primitive root (A001918) mod n-th prime. 10
5, 10, 3, 17, 3, 23, 14, 24, 8, 10, 19, 48, 7, 23, 16, 34, 9, 66, 28, 86, 35, 25, 45, 48, 25, 95, 33, 47, 85, 87, 105, 32, 142, 16, 41, 40, 139, 157, 94, 35, 90, 46, 133, 47, 12, 119, 5, 204, 88, 115, 103, 191, 209, 54, 148, 110, 110, 174, 94, 218, 1, 244, 27, 1, 278, 315 (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] != 10, lg++]; lg]; Array[a, 100, 5] (* Jean-François Alcover, Sep 03 2016 *)
PROG
(PARI) a(n)=znlog(10, znprimroot(prime(n))) \\ Charles R Greathouse IV, Oct 03 2011
CROSSREFS
Cf. table in A054503.
Sequence in context: A361672 A169841 A084341 * A295121 A066200 A357913
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 March 29 06:15 EDT 2024. Contains 371265 sequences. (Running on oeis4.)