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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120304 Catalan number minus 2, or ((2n)!/n!/(n+1)! - 2). 0
-1, -1, 0, 3, 12, 40, 130, 427, 1428, 4860, 16794, 58784, 208010, 742898, 2674438, 9694843, 35357668, 129644788, 477638698, 1767263188, 6564120418, 24466267018, 91482563638, 343059613648, 1289904147322, 4861946401450, 18367353072150, 69533550916002, 263747951750358 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

Prime p divides a(p). Prime p divides a(p+1) for p>2. Prime p divides a(p-1)/2) for p=13,17,29,37,41,53,61,73,89,97,101,109,113..=A002144[n] except 5. Pythagorean primes: primes of form 4n+1. Also A002313[n] except 2,5. Primes congruent to 1 or 2 modulo 4; or, primes of form x^2+y^2; or, -1 is a square mod p. p^2 divides a(p^2) and a(p^2+1) for all prime p.

REFERENCES

J.-L. Baril, Classical sequences revisited with permutations avoiding dotted pattern, Electronic Journal of Combinatorics, 18 (2011), #P178; http://www.combinatorics.org/Volume_18/PDF/v18i1p178.pdf.

FORMULA

a(n) = (2n)!/n!/(n+1)! - 2. a(n) = A000108[n] - 2.

MAPLE

(Mupad) combinat::dyckWords::count(n)-2 $ n = 0..38; - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), May 08 2008

MATHEMATICA

Table[(2n)!/n!/(n+1)!-2, {n, 0, 30}]

CROSSREFS

Cf. A000108, A002144, A002313, A003655.

Sequence in context: A080929 A061136 A027991 * A026071 A102839 A050182

Adjacent sequences:  A120301 A120302 A120303 * A120305 A120306 A120307

KEYWORD

sign

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Jul 13 2006

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 14 23:53 EST 2012. Contains 205689 sequences.