OFFSET
1,2
COMMENTS
A number is called arithmetic (A003601) if the average of its divisors is integer.
The run that starts at 261703848520 has length 132.
EXAMPLE
The first arithmetic numbers are 1, 3, 5, 6, 7, 11, hence the first two terms of the sequence are 1 and 5.
MATHEMATICA
arQ[n_] := 0 == Mod @@ (DivisorSigma[#, n] & /@ {1, 0}); r=c=n=0; While[True, If[arQ[++n], c++, If[c>r, r=c; Print@{c, n-c}]; c=0]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Jan 16 2014
STATUS
approved