|
| |
|
|
A003435
|
|
Number of Hamiltonian circuits on n-octahedron.
(Formerly M4578)
|
|
2
| |
|
|
8, 192, 11904, 1125120, 153262080, 28507207680, 6951513784320, 2153151603671040, 826060810479206400, 384600188992919961600, 213656089636192754073600, 139620366072628402087526400, 106033731334825319789808844800
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 2,1
|
|
|
COMMENTS
| Also called the relaxed menage problem (cf. A000179).
These are labeled and the order and starting point matter.
|
|
|
REFERENCES
| Bogart, Kenneth P. and Doyle, Peter G., Nonsexist solution of the menage problem, Amer. Math. Monthly 93 (1986), no. 7, 514-519.
Singmaster, David, Hamiltonian circuits on the n-dimensional octahedron. J. Combinatorial Theory Ser. B 19 (1975), no. 1, 1-4.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
|
FORMULA
| For n >= 2, a(n) = sum((-1)^k*binomial(n, k)*((2*n)/(2*n-k))*2^k*(2*n-k)!, k=0..n).
|
|
|
EXAMPLE
| n=2: label vertices of a square 1,2,3,4. Then the 8 Hamiltonian circuits are 1234, 1432, 2341, 2143, 3412, 3214, 4123, 4321; so a(2) = 8.
|
|
|
MAPLE
| A003435 := n->add((-1)^k*binomial(n, k)*((2*n)/(2*n-k))*2^k*(2*n-k)!, k=0..n);
|
|
|
MATHEMATICA
| a[n_] := 2^n*n!*(2n-1)!!*Hypergeometric1F1[-n, 1-2n, -2]; Table[ a[n], {n, 2, 14}] (* From Jean-François Alcover, Nov 04 2011 *)
|
|
|
PROG
| (PARI) a(n)=sum(k=0, n, (-1)^k*binomial(n, k)*((2*n)/(2*n-k))*2^k*(2*n-k)!) \\ Charles R Greathouse IV, Nov 04 2011
|
|
|
CROSSREFS
| Cf. A003436, A003437.
Sequence in context: A058873 A174091 A052734 * A071303 A128406 A003956
Adjacent sequences: A003432 A003433 A003434 * A003436 A003437 A003438
|
|
|
KEYWORD
| nonn,nice,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|