OFFSET
0,1
COMMENTS
If Y is a fixed 2-subset of a (7n+1)-set X then a(n-1) is the number of 3-subsets of X intersecting Y. - Milan Janjic, Oct 21 2007
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Milan Janjic, Two Enumerative Functions
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(0)=36, a(1)=169, a(2)=400. - Harvey P. Dale, Apr 28 2016
Sum_{n>=0} 1/a(n) = psi'(6/7)/49 = 0.04223032499681527770... - R. J. Mathar, May 07 2024
G.f.: -(36+61*x+x^2)/(x-1)^3 . - R. J. Mathar, May 07 2024
MATHEMATICA
(7*Range[0, 30]+6)^2 (* or *) LinearRecurrence[{3, -3, 1}, {36, 169, 400}, 40] (* Harvey P. Dale, Apr 28 2016 *)
PROG
(Magma) [(7*n+6)^2: n in [0..40]]; // Vincenzo Librandi, Jul 10 2011
(PARI) a(n)=(7*n+6)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved