OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..279
FORMULA
EXAMPLE
a(2) = 4 + 6 + 9 = 2*2 + 2*3 + 3*3 = 19.
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1,
add(ithprime(j)*b(n-1, j), j=1..i))
end:
a:= n-> b(n$2):
seq(a(n), n=0..17);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 04 2020
STATUS
approved