login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A102259
Begin with 5, multiply each digit by 2, separate the digits.
0
5, 1, 0, 2, 0, 4, 0, 8, 0, 1, 6, 0, 2, 1, 2, 0, 4, 2, 4, 0, 8, 4, 8, 0, 1, 6, 8, 1, 6, 0, 2, 1, 2, 1, 6, 2, 1, 2, 0, 4, 2, 4, 2, 1, 2, 4, 2, 4, 0, 8, 4, 8, 4, 2, 4, 8, 4, 8, 0, 1, 6, 8, 1, 6, 8, 4, 8, 1, 6, 8, 1, 6, 0, 2, 1, 2, 1, 6, 2, 1, 2, 1, 6, 8, 1, 6, 2, 1, 2, 1, 6, 2, 1, 2, 0, 4, 2, 4, 2, 1, 2, 4, 2, 4, 2
OFFSET
1,1
EXAMPLE
Read a(1)=5 which produces, doing 5*2=10 ["1" & "0"], a(2)=1 & a(3)=0.
Now read a(2)=1 which produces [a(3) is already written] a(4)=2 because 1*2=2.
Now read a(3)=0 which produces [a(4) is already written] a(5)=0 because 0*2=0.
MATHEMATICA
Flatten[ NestList[ Function[x, Flatten[ IntegerDigits[2IntegerDigits[ x]]]], 5, 14]] (* Robert G. Wilson v, Feb 21 2005 *)
CROSSREFS
Sequence in context: A102365 A269945 A322013 * A021200 A265301 A019904
KEYWORD
base,easy,nonn
AUTHOR
EXTENSIONS
More terms from Robert G. Wilson v, Feb 21 2005
STATUS
approved