A180352 A permutation of Motzkin numbers by reversal of indices in blocks of length 7.
127, 51, 21, 9, 4, 2, 1, 113634, 41835, 15511, 5798, 2188, 835, 323, 142547559, 50852019, 18199284, 6536382, 2356779, 853467, 310572, 208023278209, 73007772802, 25669818476, 9043402501, 3192727797, 1129760415, 400763223
Offset: 1
Programs
-
Sage
A180352 = lambda n: A001006(7*((n-1)//7+1)-((n-1) % 7)) # D. S. McNeil, Dec 06 2010
Formula
Let r(n) = 7, 6, 5 ,4, 3, 2, 1 (n>=1), extended with r(n+7)=7+r(n), then a(n) = A001006(r(n)).
Comments