OFFSET
1,2
COMMENTS
a(32) > 10^7.
EXAMPLE
The sum of the first 20 terms of A000960 is 2240, which is divisible by 20, so 20 is a term.
PROG
(PARI) s=1; print1(1 ", "); for(n=2, 10^4, f=n^2; forstep(m=n-1, 2, -1, r=f%m; if(r==0, r=m); f=f-r); f--; s=s+f; if(s%n==0, print1(n ", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Donovan Johnson, Nov 04 2012
STATUS
approved