login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054507 Log_b 4 where b is smallest primitive root (A001918) mod n-th prime. 0
2, 4, 2, 2, 12, 2, 4, 2, 18, 2, 12, 12, 36, 2, 2, 2, 2, 12, 16, 8, 2, 32, 68, 2, 88, 2, 6, 24, 18, 2, 20, 2, 2, 140, 126, 2, 80, 2, 2, 2, 88, 68, 2, 14, 2, 138, 2, 42, 144, 132, 140, 220, 96, 118, 2, 38, 18, 128, 36, 2, 186, 44, 236, 2, 242, 272, 2, 2, 328, 270, 218, 2, 2, 268, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

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=3..77.

MATHEMATICA

a[n_] := Module[{p, b, lg = 1}, b = PrimitiveRoot[p = Prime[n]]; While[ PowerMod[b, lg, p] != 4, lg++]; lg]; Array[a, 100, 3] (* Jean-Fran├žois Alcover, Sep 03 2016 *)

CROSSREFS

Cf. table in A054503. Also A054505-A054513.

Sequence in context: A280124 A279268 A279856 * A182742 A320156 A054240

Adjacent sequences:  A054504 A054505 A054506 * A054508 A054509 A054510

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 10:45 EDT 2019. Contains 328257 sequences. (Running on oeis4.)