The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130120 a(0)=1. a(n) = number of earlier terms of the sequence that divide n(n+1)/2. 1
1, 1, 2, 3, 3, 4, 4, 5, 7, 5, 4, 5, 5, 3, 10, 14, 6, 5, 5, 10, 17, 6, 2, 12, 21, 8, 5, 12, 6, 12, 12, 8, 19, 6, 11, 23, 11, 3, 7, 28, 16, 9, 9, 6, 26, 16, 3, 23, 28, 11, 15, 16, 5, 9, 22, 26, 28, 8, 2, 26, 26, 2, 13, 39, 30, 21, 10, 7, 19, 23, 13, 26, 26, 2, 16, 32, 17, 18, 10, 25, 45, 10, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
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
Cf. A130121.
Sequence in context: A282029 A029086 A070046 * A204892 A164512 A127434
KEYWORD
nonn
AUTHOR
Leroy Quet, May 10 2007
EXTENSIONS
More terms from Emeric Deutsch and Stefan Steinerberger, May 22 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 22:16 EDT 2024. Contains 372741 sequences. (Running on oeis4.)