OFFSET
0,2
COMMENTS
If Y is a 3-subset of an n-set X then, for n>=9, a(n-9) is the number of 9-subsets of X having at least two elements in common with Y. - Milan Janjic, Nov 23 2007
REFERENCES
Albert H. Beiler, Recreations in the Theory of Numbers, Dover, N.Y., 1964, pp. 194-196.
LINKS
Kelvin Voskuijl, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1).
FORMULA
a(n) = binomial(n+6, 6)*(3*n+7)/7.
G.f.: (1+2*x)/(1-x)^8.
From Amiram Eldar, Nov 04 2025: (Start)
Sum_{n>=0} 1/a(n) = 5103*sqrt(3)*Pi/88 + 45927*log(3)/88 - 35511/40.
Sum_{n>=0} (-1)^n/a(n) = 5103*sqrt(3)*Pi/44 + 2688*log(2)/11 - 351799/440. (End)
E.g.f.: exp(x)*(5040 + 45360*x + 83160*x^2 + 54600*x^3 + 15750*x^4 + 2142*x^5 + 133*x^6 + 3*x^7)/5040. - Stefano Spezia, Mar 05 2026
MATHEMATICA
Table[Binomial[n+6, 6]*(3*n+7)/7, {n, 0, 50}] (* Vladimir Joseph Stephan Orlovsky, Jan 27 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Barry E. Williams, Dec 26 1999
STATUS
approved
