OFFSET
1,1
EXAMPLE
Illustrations for n = 1..6:
_ _ _ _ _ _
|_| |_ _| |_ _ _|
|_|_| |_ _|_|
|_|_|_|
a(1) = 4 a(2) = 11 a(3) = 21
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|_ _ _ _| |_ _ _ _ _| |_ _ _ _ _ _|
|_ _ _|_| |_ _ _ _|_| |_ _ _ _ _|_|
|_ _|_ _| |_ _ _|_ _| |_ _ _ _|_ _|
|_ _|_|_| |_ _ _|_|_| |_ _ _ _|_|_|
|_|_|_|_| |_ _|_ _|_| |_ _ _|_ _ _|
|_ _|_|_|_| |_ _ _|_ _|_|
|_|_|_|_|_| |_ _ _|_|_|_|
|_ _|_ _|_ _|
|_ _|_ _|_|_|
|_ _|_|_|_|_|
|_|_|_|_|_|_|
a(4) = 41 a(5) = 67 a(6) = 118
MATHEMATICA
a[n_]:=(n+1)PartitionsP[n]+n+Sum[DivisorSigma[0, m] PartitionsP[n-m], {m, n}]; Table[a[n], {n, 40}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Stefano Spezia, Dec 23 2020
STATUS
approved