a(n) = M(n) (mod n) where M(n) = A001006(n) is the n-th Motzkin number.

A086401

a(n) = M(n) (mod n) where M(n) = A001006(n) is the n-th Motzkin number.

Terms

    a(0) =0a(1) =0a(2) =1a(3) =1a(4) =1a(5) =3a(6) =1a(7) =3a(8) =7a(9) =8a(10) =1a(11) =7a(12) =1a(13) =10a(14) =12a(15) =11a(16) =1a(17) =6a(18) =1a(19) =19a(20) =0a(21) =3a(22) =1a(23) =21a(24) =1a(25) =16a(26) =7a(27) =5a(28) =1a(29) =1

External references