OFFSET
4,1
REFERENCES
Eggleton, Roger B. "Maximal Midpoint-Free Subsets of Integers." International Journal of Combinatorics Volume 2015, Article ID 216475, 14 pages; http://dx.doi.org/10.1155/2015/216475; http://www.hindawi.com/journals/ijcom/2015/216475/abs/
J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 210.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
FORMULA
Let K(0,0)=1; K(n,0)=n*K(n-1,0)+(-1)^n, n>0; and j*K(n,j)=n*(n+1-2*j)*K(n-1,j-1)+n*(n-1)*K(n-2,j-1), j>0. Sequence is a(n)=K(n,2). - Sean A. Irvine, Nov 15 2010
MATHEMATICA
K[0, 0] = 1; K[n_, 0] := K[n, 0] = n*K[n-1, 0] + (-1)^n; K[n_, j_] := K[n, j] = (1/j)(n*(n+1-2*j)*K[n-1, j-1] + n*(n-1)*K[n-2, j-1]); a[n_] := K[n, 2]; Table[a[n], {n, 4, 33}] (* Jean-François Alcover, Feb 09 2016, after Sean A. Irvine *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Sean A. Irvine, Nov 15 2010
STATUS
approved