OFFSET
0,1
LINKS
Robert Israel, Table of n, a(n) for n = 0..3293
EXAMPLE
a(3) = 2*1+3*(1+3)+5*(1+3+3)+7*(1+3+3+1) = 105.
MAPLE
f:= proc(n) local L, i;
L:= ListTools:-PartialSums([seq(binomial(n, i), i=0..n)]);
add(L[i]*ithprime(i), i=1..n+1);
end proc:
map(f, [$0..40]);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 14 2021
STATUS
approved