A258710 Motzkin numbers A001006 read mod 11.
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
Keywords
Links
- Rob Burns, Structure and asymptotics for Motzkin numbers modulo small primes using automata, arXiv:1612.08146 [math.NT], 2016.
- Anders Hyllengren, Letter to N. J. A. Sloane, Oct 04 1985
Crossrefs
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 *)