OFFSET
1,2
EXAMPLE
a(7) = 5 as 1, 2, 3, 5 and 7 qualify for the count.
MATHEMATICA
Do[s = 0; For[i = 1, i <= n, i++, If[DivisorSigma[0, i] <= DivisorSigma[0, n], s++ ]]; Print[s], {n, 1, 50}] (* Ryan Propper, Mar 30 2006 *)
PROG
(PARI) for(n=1, 200, m=0; sn=sigma(n, 0); for(i = 1, n, if(sigma(i, 0)<=sn, m++)); print1(m", ")) \\ Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Feb 03 2003
EXTENSIONS
More terms from Ryan Propper, Mar 30 2006
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007
STATUS
approved