OFFSET
0,4
FORMULA
a(n) = floor((n/2)^n).
EXAMPLE
a(5) = floor(5^5 / 2^5) = floor(3125 / 32) = 97.
MAPLE
MATHEMATICA
Table[Floor[(n/2)^n], {n, 0, 30}] (* Wesley Ivan Hurt, Feb 26 2014 *)
PROG
(Python)
for n in range(33): print(n**n >> n, end=', ')
(PARI) a(n) = n^n\2^n; \\ Michel Marcus, Dec 17 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Dec 05 2013
STATUS
approved