|
|
A007041
|
|
State assignments for n-state machine.
(Formerly M2016)
|
|
2
|
|
|
2, 12, 12, 1120, 3360, 6720, 6720, 172972800, 1210809600, 7264857600, 36324288000, 145297152000, 435891456000, 871782912000, 871782912000, 1676837160768946176000, 25152557411534192640000, 352135803761478696960000, 4577765448899223060480000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
P. E. Wood, Jr., Switching Theory, McGraw-Hill, 1968, see p. 263.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (2^s)!/((2^s-n)!*s!) where s = ceiling(log_2 n).
|
|
MATHEMATICA
|
Array[(2^#2)!/((2^#2 - #1)!*#2!) & @@ {#, Ceiling@ Log2@ #} &, 19, 2] (* Michael De Vlieger, Nov 05 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|