login
A258781
a(n) is the greatest positive integer k such that lambda(k) <= n where lambda is the Carmichael lambda function (A002322).
0
2, 24, 24, 240, 240, 504, 504, 504, 504, 504, 504, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 65520, 131040, 131040, 131040, 131040, 131040, 131040, 171864, 171864, 171864, 171864, 171864, 171864, 138181680, 138181680, 138181680
OFFSET
1,1
LINKS
Eric W. Weisstein's mathWorld, Carmichael Function
EXAMPLE
a(2)=24 because lambda(24) = 2 and 24 is the greatest number such that lambda(24) <= 2.
MAPLE
with(numtheory):
for n from 1 to 30 do:
ii:=0:
for k from 10^7 by -1 to 1 while(ii=0)do:
if lambda(k)<=n
then
printf(`%d, `, k):ii:=1:
else
fi:
od:
od:
CROSSREFS
Sequence in context: A229429 A281139 A052686 * A371207 A064818 A349724
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 10 2015
EXTENSIONS
a(36)-a(38) corrected by Seth A. Troisi, Nov 22 2015
STATUS
approved