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!)
A074145 a(1) = 1; for n>1, a(n) is the smallest previously unused natural number such that a(n) divides the sum of next a(n) terms. 0
1, 2, 3, 5, 4, 6, 7, 8, 15, 9, 10, 11, 12, 19, 13, 23, 14, 16, 17, 18, 27, 20, 30, 31, 24, 21, 22, 36, 25, 26, 37, 28, 47, 39, 29, 33, 32, 51, 44, 34, 35, 56, 38, 40, 41, 42, 63, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
4 comes after 5 hence the next terms after 5 are so chosen that the property holds for 4 as well.
The next term a(49) does not exist, so there are no more terms. This is because a(25)=24 and a(27)=22 both must divide a(49). Assuming that a(49)=x, this leads to 867+x=24a and 824+x=22b for some integers a and b. Subtracting, we get 43=24a-22b, which is a contradiction. - John W. Layman, Jul 29 2003
LINKS
EXAMPLE
5 divides the sum (4 + 6 +7 +8 + 15) of the next five terms and 4 does so for (6+7+8+15).
CROSSREFS
Sequence in context: A131142 A131141 A130981 * A299237 A257676 A257677
KEYWORD
fini,full,nonn
AUTHOR
Amarnath Murthy, Aug 28 2002
EXTENSIONS
More terms from John W. Layman, Jul 29 2003
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 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)