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

A086401
a(n) = M(n) (mod n) where M(n)=A001006(n) is the n-th Motzkin number.
0
0, 0, 1, 1, 1, 3, 1, 3, 7, 8, 1, 7, 1, 10, 12, 11, 1, 6, 1, 19, 0, 3, 1, 21, 1, 16, 7, 5, 1, 1, 1, 19, 1, 8, 20, 23, 7, 1, 3, 7, 17, 1, 36, 1, 41, 9, 26, 1, 21, 1, 28, 24, 45, 1, 33, 18, 43, 45, 32, 1, 39, 1, 34, 24, 51, 51, 42, 1, 19, 30, 7, 1, 9, 1, 40, 57, 57, 19, 24, 1, 17, 61, 44, 1, 37, 51
OFFSET
1,6
COMMENTS
if n is an odd prime a(n)=1.
CROSSREFS
Sequence in context: A281553 A064434 A328988 * A095732 A001644 A139123
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 06 2003
STATUS
approved