OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
MAPLE
t:= n-> n*(n-1)/2:
f:= n-> ceil((sqrt(1+8*n)-1)/2):
g:= n-> (x-> [x, n-t(x)][])(f(n)):
a:= n-> (h-> t(h[1]*h[3])+h[2]*h[4])(map(g, [n, 2])):
seq(a(n), n=0..60); # Alois P. Heinz, Feb 17 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 17 2021
EXTENSIONS
More terms from Alois P. Heinz, Feb 17 2021
STATUS
approved