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.

A258710 Motzkin numbers A001006 read mod 11.

Original entry on oeis.org

1, 1, 2, 4, 9, 10, 7, 6, 4, 10, 10, 1, 1, 2, 4, 9, 10, 7, 6, 4, 9, 0, 3, 3, 6, 1, 5, 8, 10, 7, 1, 6, 10, 7, 7, 3, 6, 8, 4, 5, 9, 6, 9, 10, 8, 8, 5, 10, 6, 3, 1, 4, 10, 9, 8, 7, 7, 3, 6, 8, 4, 5, 9, 6, 3, 5, 9, 9, 7, 3, 4, 2, 8, 10, 3, 8, 7, 8, 8, 5, 10, 6, 3, 1, 4, 10
Offset: 0

Views

Author

N. J. A. Sloane, Jun 14 2015

Keywords

Crossrefs

Cf. A001006.
Motzkin numbers A001006 read mod 2,3,4,5,6,7,8,11: A039963, A039964, A299919, A258712, A299920, A258711, A299918, A258710.

Programs

  • Mathematica
    m[0] = 1; m[n_] := m[n] = m[n-1] + Sum[m[k] m[n-k-2], {k, 0, n-2}];
    a[n_] := Mod[m[n], 11];
    Array[a, 100, 0] (* Jean-François Alcover, Nov 05 2018 *)