OFFSET
6,1
COMMENTS
Number of n permutations (n>=6) of 3 objects u,v,z, with repetition allowed, containing n-6 u's. Example: if n=6 then n-6 =(0) zero u, a(1)=64. - Zerinvary Lajos, Aug 05 2008
a(n) is the number of 5-dimensional elements in an n-cross polytope where n>=6. - Patrick J. McNab, Jul 06 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 6..1000
Milan Janjic, Two Enumerative Functions
Eric Weisstein's World of Mathematics, Cross Polytope
FORMULA
a(n) = binomial(2*n,6) + binomial(n,2)*binomial(2*n-4,2) - n*binomial(2*n-2,4) - binomial(n,3).
a(n) = C(n,n-6)*2^6, n>=6. - Zerinvary Lajos, Dec 07 2007
G.f.: 64*x^6/(1-x)^7. - Colin Barker, Mar 20 2012
MAPLE
a:=n->binomial(2*n, 6)+binomial(n, 2)*binomial(2*n-4, 2)-n*binomial(2*n-2, 4)-binomial(n, 3);
seq(binomial(n, n-6)*2^6, n=6..32); # Zerinvary Lajos, Dec 07 2007
seq(binomial(n+5, 6)*2^6, n=1..22); # Zerinvary Lajos, Aug 05 2008
MATHEMATICA
CoefficientList[Series[64/(1-x)^7, {x, 0, 30}], x] (* Vincenzo Librandi, Mar 21 2012 *)
PROG
(Magma) [Binomial(2*n, 6)+Binomial(n, 2)*Binomial(2*n-4, 2)- n*Binomial(2*n-2, 4)-Binomial(n, 3): n in [6..40]]; // Vincenzo Librandi, Jul 09 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Milan Janjic, Jul 16 2007
STATUS
approved