OFFSET
1,2
COMMENTS
Next term > 10^7. - M. F. Hasler, Sep 25 2013
a(21) > 10^10. - Donovan Johnson, Sep 25 2013
a(24) > 10^12. - Giovanni Resta, Mar 13 2014
FORMULA
EXAMPLE
1' + 2' + 3' + 4' + 5' + 6' = 0 + 1 + 1 + 4 + 1 + 5 = 12, and 12 mod 6 = 0.
MAPLE
with(numtheory); P:= proc(q) local a, n, p; a:=0;
for n from 1 to q do a:=a+n*add(op(2, p)/op(1, p), p=ifactors(n)[2]);
if a mod n=0 then print(n); fi; od; end: P(10^6);
PROG
(PARI) s=0; for(n=1, 1e7, (s+=A003415(n))%n||print1(n", ")) \\ - M. F. Hasler, Sep 25 2013
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Paolo P. Lava, Sep 25 2013
EXTENSIONS
Double-checked below 10^6 and extended up to 10^7 by M. F. Hasler, Sep 25 2013
a(12)-a(20) from Donovan Johnson, Sep 25 2013
a(21)-a(23) from Giovanni Resta, Mar 13 2014
STATUS
approved