OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MAPLE
a:= n-> floor(add(binomial(n, i)*(n/i)^i, i = 1..n)):
seq(a(n), n=1..30);
MATHEMATICA
Floor/@Table[Sum[Binomial[n, i](n/i)^i, {i, n}], {n, 30}] (* Harvey P. Dale, May 08 2012 *)
PROG
(PARI) a(n) = sum(i=1, n, binomial(n, i)*(n/i)^i)\1; \\ Michel Marcus, Oct 30 2018
(Sage) [floor( sum(binomial(n, j)*(n/j)^j for j in (1..n)) ) for n in (1..30)] # G. C. Greubel, Mar 06 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph Lavinus Ganley [ ganley(AT)virginia.edu ]
EXTENSIONS
Name corrected June 1995
STATUS
approved