OFFSET
0,3
COMMENTS
Number of functions of [n] to [n] (endofunctions of degree n) up to complement to n+1.
There is only one function, and only when n=2k-1 is odd, fixed by n+1-complement, the constant function with value k.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
FORMULA
a(n) = ceiling(A000312(n)/2).
EXAMPLE
Ceiling(6^6/2) = 23328.
MATHEMATICA
Join[{1}, Table[Ceiling[n^n/2], {n, 1, 25}]] (* G. C. Greubel, Jul 28 2016 *)
PROG
(Sage) [ceil(n^n/2) for n in range(0, 21)]#
(Magma)[Ceiling(n^n/2): n in [0..20]]; // Vincenzo Librandi, Aug 29 2011
(PARI) a(n) = ceil(n^n/2); \\ Michel Marcus, Feb 18 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Dec 02 2009
STATUS
approved