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.

A104894 Binary array, related to the Thue-Morse sequence A010060, read by downward antidiagonals.

Original entry on oeis.org

0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1
Offset: 0

Views

Author

Philippe Deléham, Apr 24 2005

Keywords

Examples

			Row n consists of repetitions of the first 2^(n+1) terms of A010060:
.
 n\k| 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15  ...
---------------------------------------------------------
  0 | 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, ...
  1 | 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, ...
  2 | 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, ...
  3 | 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ...
  4 | 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ...
  5 | 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ...
  6 | 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ...
  7 | 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, ...
  ...
Columns written in base 10 (see Table 2 of reference) give 0, -1, -2, 1, -4, 3, 2, -3, -8, 7, 6, -7, 4, -5, -6, 5, ... (see A104895).
		

Crossrefs

Programs

  • Mathematica
    Table[ThueMorse[Mod[n-k, 2^(k+1)]], {n, 0, 15}, {k, 0, n}] (* Paolo Xausa, Apr 04 2024 *)

Formula

T(n,k) = A010060(k mod 2^(n+1)). - Paolo Xausa, Apr 04 2024

Extensions

a(48) = 0 removed by Paolo Xausa, Apr 04 2024