OFFSET
0,3
COMMENTS
The origin-to-boundary graph-distance (see A325188) is the side length of the maximum triangular partition contained inside the Ferrer's diagram of the partition. a(n) is the sum of the side lengths over all partitions of n.
FORMULA
a(n) = Sum_{k=1..n} k*A325188(n,k).
PROG
(PARI) a(n)={my(s=0); forpart(p=n, my(w=#p); for(i=1, #p, w=min(w, #p-i+p[i])); s += w); s}
CROSSREFS
KEYWORD
nonn
AUTHOR
Andrew Howroyd, Jan 12 2024
STATUS
approved