login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120877 a(1) = 1. a(n) = number of earlier terms of the sequence that divide the sum of the earlier terms of the sequence. 1
1, 1, 2, 3, 2, 3, 6, 7, 2, 4, 2, 4, 2, 4, 2, 4, 3, 12, 12, 12, 12, 12, 13, 2, 2, 5, 10, 23, 2, 3, 15, 2, 7, 18, 12, 12, 14, 32, 16, 31, 2, 6, 6, 9, 20, 13, 7, 13, 2, 2, 6, 6, 7, 17, 6, 6, 8, 2, 6, 3, 16, 19, 9, 32, 16, 33, 9, 45, 10, 3, 19, 5, 16, 20, 20, 35, 4, 8, 2, 3, 17, 19, 17, 19, 22, 35 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Sum of first n terms of this sequence is A120878(n).

LINKS

Table of n, a(n) for n=1..86.

EXAMPLE

The sum of the first 9 terms of the sequence is 27. Among the first 9 terms of the sequence there are 4 terms (a(1)=1, a(2)=1, a(4)=3, a(6)=3) which divide 27.

So a(10) = 4.

PROG

(PARI) {m=86; print1(a=1, ", "); v=[a]; for(n=2, m, a=0; q=sum(i=1, n-1, v[i]); for(j=1, n-1, if(q%v[j]==0, a++)); print1(a, ", "); v=concat(v, a))} - (Klaus Brockhaus, Aug 16 2006)

CROSSREFS

Cf. A120878.

Sequence in context: A165930 A300500 A064895 * A326304 A174091 A318789

Adjacent sequences:  A120874 A120875 A120876 * A120878 A120879 A120880

KEYWORD

nonn

AUTHOR

Leroy Quet, Jul 10 2006

EXTENSIONS

More terms from Klaus Brockhaus, Aug 16 2006

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 21 04:22 EST 2019. Contains 329350 sequences. (Running on oeis4.)