[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A257516 Number of 3-generalized Motzkin paths of length n with no level steps H=(3,0) at even level. 1
1, 0, 1, 0, 2, 1, 5, 4, 15, 15, 48, 57, 162, 218, 570, 842, 2070, 3284, 7709, 12922, 29299, 51255, 113220, 204781, 443574, 823554, 1757947, 3331818, 7035054, 13552699, 28387680, 55401396, 115369417, 227501256, 471780468, 938107057, 1939727280, 3883120002 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
G.f.: (1-x^3-sqrt((1-x^3)*(1-4*x^2-x^3)))/(2*x^2).
EXAMPLE
For n=6 we have 5 paths: UDUDUD, UUDDUD, UDUUDD, UUUDDD and UUDUDD
MATHEMATICA
CoefficientList[Series[(1-x^3-Sqrt[(1-x^3)*(1-4*x^2-x^3)])/(2*x^2), {x, 0, 20}], x] (* Vaclav Kotesovec, Apr 27 2015 *)
CROSSREFS
Sequence in context: A240607 A304298 A309976 * A346800 A124660 A217104
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 09:12 EDT 2024. Contains 375511 sequences. (Running on oeis4.)