OFFSET
2,1
COMMENTS
These integers are sometimes called balanced numbers.
REFERENCES
Cambridge Colleges Sixth Term Examination Papers (STEP) 2007, Paper I, Section A (Pure Mathematics), Nr. 1.
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
a(n) = n*(n-1)*(156190*n^7 + 15619*n^6 + 45019*n^5 + 14149*n^4 + 18139*n^3 + 9760*n^2 + 6660*n + 5040)/362880
From Chai Wah Wu, May 08 2024: (Start)
a(n) = 10*a(n-1) - 45*a(n-2) + 120*a(n-3) - 210*a(n-4) + 252*a(n-5) - 210*a(n-6) + 120*a(n-7) - 45*a(n-8) + 10*a(n-9) - a(n-10) for n > 11.
G.f.: x^2*(x^7 + 326*x^6 + 7942*x^5 + 42341*x^4 + 67030*x^3 + 33638*x^2 + 4786*x + 126)/(x - 1)^10. (End)
PROG
(Python)
def A240929(n): return n*(n*(n*(n*(n*(n*(n*(n*(156190*n-140571)+29400)-30870)+3990)-8379)-3100)-1620)-5040)//362880 # Chai Wah Wu, May 08 2024
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Martin Renner, Aug 03 2014
STATUS
approved