|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|