login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054503 Table T(n,k) giving log_b(k), 1<=k<=p, where p = n-th prime and b = smallest primitive root of p (A001918). 10
0, 0, 1, 0, 1, 3, 2, 0, 2, 1, 4, 5, 3, 0, 1, 8, 2, 4, 9, 7, 3, 6, 5, 0, 1, 4, 2, 9, 5, 11, 3, 8, 10, 7, 6, 0, 14, 1, 12, 5, 15, 11, 10, 2, 3, 7, 13, 4, 9, 6, 8, 0, 1, 13, 2, 16, 14, 6, 3, 8, 17, 12, 15, 5, 7, 11, 4, 10, 9, 0, 2, 16, 4, 1, 18, 19, 6, 10, 3, 9, 20, 14, 21, 17, 8, 7, 12, 15, 5, 13, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,6

REFERENCES

T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, Table 10.2, pp. 216-217.

LINKS

Table of n, a(n) for n=0..90.

EXAMPLE

Triangle starts:

0;

0,1;

0,1,3,2;

0,2,1,4,5,3;

0,1,8,2,4,9,7,3,6,5;

...

MATHEMATICA

T[n_, k_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != k , lg++]; lg]; T[_, 1] = 0; Table[T[n, k], {n, 1, 10}, {k, 1, Prime[n] - 1}] // Flatten (* Jean-Fran├žois Alcover, Sep 03 2016 *)

CROSSREFS

Columns of table give A054505-A054513.

Sequence in context: A195662 A112606 A108512 * A281451 A246863 A227864

Adjacent sequences:  A054500 A054501 A054502 * A054504 A054505 A054506

KEYWORD

nonn,tabf,nice,easy

AUTHOR

N. J. A. Sloane, Apr 08 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 13:41 EST 2020. Contains 331149 sequences. (Running on oeis4.)