OFFSET
0,3
EXAMPLE
a(7)=5 because among the first seven terms of the sequence, namely 1,1,2,3,3,4,4, only 1,1,2,4 and 4 divide 7*8/2=28.
MAPLE
a[0]:=1: for n from 1 to 100 do a[n]:=0: for j from 0 to n-1 do if type(n*(n+1)/2/a[j], integer)=true then a[n]:=a[n]+1 else fi: od: od: seq(a[n], n=0..100); # Emeric Deutsch, May 22 2007
MATHEMATICA
a = {1}; For[n = 1, n < 80, n++, AppendTo[a, Length[Select[(n*(n + 1)/2)/a, IntegerQ[ # ] & ]]]]; a (* Stefan Steinerberger, Jun 01 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 10 2007
EXTENSIONS
More terms from Emeric Deutsch and Stefan Steinerberger, May 22 2007
STATUS
approved