|
|
A254056
|
|
Sum two last digits of the sequence to get next term, starting with 1,2.
|
|
1
|
|
|
1, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11, 2, 3, 5, 8, 13, 4, 7, 11
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Start with {1,2}: 1,2,3,5,8,13,4,7,11,2,3,5,8,13,4,7,11,2,3,5,8,13,4,7,... period {11,2,3,5,8,13,4,7,}.
Sequences with any other pair of initial digits eventually merge with case {1,2} except for the case {4,5}: 4,5,9,14,5,9,14,5,9,14,... which has period {5,9,14}.
|
|
LINKS
|
Table of n, a(n) for n=1..57.
|
|
MATHEMATICA
|
a=1; b=2; s={a, b}; dd={a, b}; Do[a=dd[[-1]]+dd[[-2]]; AppendTo[s, a]; dd=Flatten[{dd, IntegerDigits[s]}], {20}]; s
|
|
CROSSREFS
|
Sequence in context: A135102 A214156 A078414 * A238948 A336716 A345097
Adjacent sequences: A254053 A254054 A254055 * A254057 A254058 A254059
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Zak Seidov, Jan 24 2015
|
|
STATUS
|
approved
|
|
|
|