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”).

A102397
a(n) = concatenation of first n elements of Thue-Morse sequence A010059.
2
1, 10, 100, 1001, 10010, 100101, 1001011, 10010110, 100101100, 1001011001, 10010110011, 100101100110, 1001011001101, 10010110011010, 100101100110100, 1001011001101001, 10010110011010010, 100101100110100101
OFFSET
0,2
FORMULA
a(n)=sum{k=0..n, (1+(-1)^A010060(n-k))10^k/2}.
MATHEMATICA
With[{tm=Nest[Join[#, Mod[2#+1, 3]]&, {1}, 10]}, Table[FromDigits[Take[tm, n]], {n, 20}]] (* Harvey P. Dale, May 15 2016 *)
CROSSREFS
Cf. A019299.
Sequence in context: A266071 A118256 A351386 * A132347 A215254 A262863
KEYWORD
base,easy,nonn
AUTHOR
Paul Barry, Jan 06 2005
STATUS
approved