login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066732
Least k such that the least factor of k^Phi(k) -1 is the n-th prime.
1
3, 4, 6, 18, 150, 60, 30, 22440, 120360, 44880, 5610, 11730, 8160, 473280, 277440, 131070, 548760, 920040, 750720, 440130, 329970, 27030, 5689560, 522240, 1020, 3028890, 2639760, 6866130, 251430, 134130, 7481190, 2390880, 2664240, 9926130, 279480, 9730290
OFFSET
1,1
LINKS
EXAMPLE
18^Phi(18)-1 = 18^6-1 = 34012223 = 7^3 * 17 * 19 * 307. Therefore since 7, the fourth prime, is the least prime in the factorization, a(4) = 18.
MATHEMATICA
a = Table[0, {53} ]; Do[b = 1; While[ PowerMod[n, EulerPhi[n], Prime[b]] != 1, b++ ]; If[ a[[b]] == 0, a[[b]] = n], {n, 3, 10^6} ]
CROSSREFS
Cf. A066699.
Sequence in context: A138577 A298149 A136242 * A304679 A265735 A038520
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 15 2002
EXTENSIONS
a(35)-a(36) from Robert Price, Nov 06 2023
STATUS
approved