OFFSET
1,2
COMMENTS
Sequence A002174 gives the n such that a(n) > 0. Removing the zeros from this sequence produces A002396. Note that some n appear only for large k. For example, 728 does not appear until k=49184. See A143407 for the largest k that produces a particular value of the lambda function. See A143408 for the number of times each value occurs. - T. D. Noe, Mar 17 2011
EXAMPLE
a(8) = 32 because lambda(32) = 8.
MAPLE
with(numtheory):for k from 1 to 100 do:id:=0:for n from 1 to 1000 while(id=0)
do: if lambda(n) = k then id:=1:printf(`%d, `, n):else fi:od:if id=0 then printf(`%d, `, 0):else fi:od:
MATHEMATICA
nn = 100; t = Table[0, {nn}]; Do[c = CarmichaelLambda[k]; If[c <= nn && t[[c]] == 0, t[[c]] = k], {k, 1000}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Mar 17 2011
STATUS
approved