A086400 (1/p)*(M(p)-1) where p runs through the odd primes and M(p) = A001006(p) is the p-th Motzkin number.
1, 4, 18, 527, 3218, 138634, 957857, 49120018, 20473889132, 156766505690, 74324776203270, 4686290685410776, 37541445026997947, 2445882966702428971, 1327937505693018342712, 743757817682170309535791, 6166664829842021655267818, 3568011384191503508502528953, 250506784439047192764704514076
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..317
Crossrefs
Cf. A001006.
Programs
-
Mathematica
motz[0] = motz[1] = 1; motz[n_] := motz[n] = ((2*n + 1)*motz[n-1] + 3*(n-1)*motz[n-2])/(n+2); Table[(motz[p]-1)/p, {p, Prime[Range[2, 20]]}] (* Amiram Eldar, Apr 20 2025 *)
Extensions
Data corrected by Amiram Eldar, Apr 20 2025