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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112395 Next term is the sum of the last 10 digits in the sequence. 15
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 4, 8, 16, 23, 28, 37, 44, 40, 37, 42, 38, 39, 43, 46, 46, 50, 44, 40, 37, 37, 37, 42, 40, 40, 34, 31, 25, 26, 30, 29, 33, 35, 36, 37, 44, 41, 40, 36, 36, 35, 35, 38, 45, 45, 45, 46, 48, 49, 53, 52, 50, 45, 42, 35, 35, 36, 40, 35, 37, 39, 43, 41 (list; graph; refs; listen; history; internal format)
OFFSET

1,12

COMMENTS

Digits, not terms!

There are only 10^10 possibilities for the last 10 digits, so the sequence must eventually cycle.

Cycles at n(19)=44 and the loop has 312 terms. - Hans Havermann

Terms computed by Gilles Sadowski.

EXAMPLE

0 + 0 + 1 + 1 + 2 + 4 + 8 + 1 + 6 = 23

MATHEMATICA

a[1] = a[2] = a[3] = a[4] = a[5] = a[6] = a[7] = a[8] = a[9] = 0; a[10] = 1; a[n_] := a[n] = Plus @@ Take[ Flatten@Table[IntegerDigits[a[i]], {i, n - 10, n - 1}], -10]; Array[a, 74] (from Robert G. Wilson v (rgwv(at)rgwv.com), Dec 09 2005)

CROSSREFS

Sequence in context: A058961 A130917 A007612 * A004207 A062729 A004620

Adjacent sequences:  A112392 A112393 A112394 * A112396 A112397 A112398

KEYWORD

base,easy,nonn

AUTHOR

Eric Angelini (eric.angelini(AT)kntv.be), Dec 05 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 13:12 EST 2012. Contains 205909 sequences.