[go: up one dir, main page]

login
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
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}.
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
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jan 24 2015
STATUS
approved