cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A102397 a(n) = concatenation of first n elements of Thue-Morse sequence A010059.

Original entry on oeis.org

1, 10, 100, 1001, 10010, 100101, 1001011, 10010110, 100101100, 1001011001, 10010110011, 100101100110, 1001011001101, 10010110011010, 100101100110100, 1001011001101001, 10010110011010010, 100101100110100101
Offset: 0

Views

Author

Paul Barry, Jan 06 2005

Keywords

Crossrefs

Cf. A019299.

Programs

  • Mathematica
    With[{tm=Nest[Join[#,Mod[2#+1,3]]&,{1},10]},Table[FromDigits[Take[tm,n]],{n,20}]] (* Harvey P. Dale, May 15 2016 *)

Formula

a(n)=sum{k=0..n, (1+(-1)^A010060(n-k))10^k/2}.