OFFSET
0,2
COMMENTS
If Y and Z are 2-blocks of a 2n-set X then, for n>=2, a(n-2) is the number of 4-subsets of X intersecting both Y and Z. - Milan Janjic, Nov 18 2007
Equals binomial transform of [1, 12, 16, 0, 0, 0, ...]. - Gary W. Adamson, Jul 19 2008
Sequence found by reading the line from 1, in the direction 1, 13, ..., in the square spiral whose vertices are the triangular numbers A000217. - Omar E. Pol, Sep 05 2011
First differences of A100157. - John Molokach, Jul 10 2013
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Milan Janjic, Two Enumerative Functions
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (1+10*x+5*x^2)/(1-x)^3. - Paul Barry, Jun 04 2005
a(n) = 4*(4*n-1)+a(n-1) (with a(0)=1). - Vincenzo Librandi, Nov 16 2010
E.g.f.: (8*x^2 + 12*x + 1)*exp(x). - G. C. Greubel, Jul 14 2017
MATHEMATICA
Table[8*n^2 + 4*n + 1, {n, 0, 300}] (* or *) LinearRecurrence[{3, -3, 1}, {1, 13, 41}, 80] (* Vladimir Joseph Stephan Orlovsky, Feb 17 2012 *)
PROG
(PARI) a(n)=8*n^2+4*n+1 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 14 2005
STATUS
approved