OFFSET
1,3
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..1000
A. L. L. Gao, S. Kitaev, P. B. Zhang. On pattern avoiding indecomposable permutations, arXiv:1605.05490 [math.CO], 2016.
Murray Tannock, Equivalence classes of mesh patterns with a dominating pattern, MSc Thesis, Reykjavik Univ., May 2016.
FORMULA
a(n) = C(n) - n + 1, where C(n) is the Catalan number.
MATHEMATICA
a[n_] := CatalanNumber[n] - (n - 1)
Table[a[n], {n, 1, 30}] (* Alice L.L. Gao, May 24 2016 *)
PROG
(PARI)
a(n) = binomial(2*n, n)/(n+1) - n + 1; \\ Indranil Ghosh, Mar 04 2017
(Python)
import math
f=math.factorial
def C(n, r): return f(n)/f(r)/f(n-r)
def Catalan(n): return C(2*n, n)/(n+1)
def A273526(n): return Catalan(n)-n+1 # Indranil Ghosh, Mar 04 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Alice L.L. Gao and Philip B. Zhang, May 24 2016
STATUS
approved