OFFSET
0,5
COMMENTS
Uniform used in the sense of Retakh, Serconek and Wilson. We use Stanley's definition of graded poset: all maximal chains have the same length n (which also implies all maximal elements have maximal rank.)
REFERENCES
R. Stanley, Enumerative combinatorics. Vol. 1, Cambridge University Press, Cambridge, 1997, pp. 96-100.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
V. Retakh, S. Serconek, and R. Wilson, Hilbert Series of Algebras Associated to Directed Graphs and Order Homology, arXiv:1010.6295 [math.RA], 2010-2011.
Wikipedia, Graded poset
Index entries for linear recurrences with constant coefficients, signature (10,-36,57,-39,9).
FORMULA
MATHEMATICA
Join[{0}, LinearRecurrence[{10, -36, 57, -39, 9}, {0, 0, 1, 7, 37}, 40]]
PROG
(Python)
def a(n, d={0:0, 1:0, 2:0, 3:1, 4:7, 5:37}):
if n in d:
return d[n]
d[n]=10*a(n-1) - 36*a(n-2) + 57*a(n-3) - 39*a(n-4) + 9*a(n-5)
return d[n]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Nacin, Mar 01 2012
STATUS
approved