login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025243 a(n) = a(1)*a(n-1) + a(2)*a(n-2) + ...+ a(n-3)*a(3) for n >= 4. 1
1, 2, 1, 1, 3, 6, 14, 33, 79, 194, 482, 1214, 3090, 7936, 20544, 53545, 140399, 370098, 980226, 2607242, 6961462, 18652112, 50133616, 135140598, 365254226, 989614976, 2687312752, 7312725944, 19938170096, 54460115308, 149007155356, 408341969073 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(n) = number of Dyck (n-1)-paths that contain no DUDUs and no UUDDs (n>=3). For example, a(5)=3 counts UUUDUDDD, UDUUDUDD, UUDUDDUD. - David Callan (callan(AT)stat.wisc.edu), Sep 25 2006

FORMULA

G.f.: (1+x+2*x^2-sqrt(1-2*x-3*x^2+4*x^4))/2 - Michael Somos, Jun 08, 2000.

PROG

(PARI) a(n)=polcoeff((x+2*x^2-sqrt(1-2*x-3*x^2+4*x^4+x*O(x^n)))/2, n)

CROSSREFS

Sequence in context: A060517 A163181 A074662 * A144512 A159314 A135701

Adjacent sequences:  A025240 A025241 A025242 * A025244 A025245 A025246

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 03:59 EST 2012. Contains 205694 sequences.