OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..3318
FORMULA
a(n) = [x^n] (1/(1 - x)) * Sum_{k=1..n} binomial(n,k) * x^k/(1 - x^k).
a(n) = Sum_{k=1..n} Sum_{d|k} binomial(n,d).
a(n) ~ 3 * 2^(n-1). - Vaclav Kotesovec, May 28 2021
MAPLE
f:= proc(n) local k; add(binomial(n, k)*floor(n/k), k=1..n) end proc:
map(f, [$1..100]); # Robert Israel, Aug 23 2019
MATHEMATICA
Table[Sum[Binomial[n, k] Floor[n/k] , {k, 1, n}], {n, 1, 33}]
Table[SeriesCoefficient[1/(1 - x) Sum[Binomial[n, k] x^k/(1 - x^k), {k, 1, n}], {x, 0, n}], {n, 1, 33}]
Table[Sum[Sum[Binomial[n, d], {d, Divisors[k]}], {k, 1, n}], {n, 1, 33}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 22 2019
STATUS
approved