OFFSET
1,2
COMMENTS
lambda(n) is the Carmichael lambda function (A002322). The corresponding ratios (Sum_{k=1..m} lambda(k))/m are given by the sequence {1, 1, 2, 2, 3, 5, 8, 19, 711, 1221, 1399, 3011, 9034, 27187, 61246, 75971, 86971, 154710, 277344, 1015576,...}.
a(31) > 10^10. - Dana Jacobsen, Jul 07 2016
EXAMPLE
5 is in the sequence because 5 divides Sum_{k=1..5} lambda(k) = 1 + 1 + 2 + 2 + 4 = 2*5.
MATHEMATICA
s = 0; Do[s = s + CarmichaelLambda[n]; If[IntegerQ[s/n], Print[n]], {n, 1, 10^9}]
PROG
(Perl) use ntheory ":all"; my $v=0; for my $m (1..1e6) { $v=vecsum($v, carmichael_lambda($m)); say $m unless $v % $m; } # Dana Jacobsen, Jul 07 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 17 2016
EXTENSIONS
More terms from Dana Jacobsen, Jul 07 2016
STATUS
approved