OFFSET
0,2
LINKS
Thomas Otten, Illustration of initial terms.
FORMULA
a(n) = 4*A237526(n^2 + 1).
PROG
(PARI) a(n) = my(s=n^2+1); 4*sum(k=1, sqrtint(s), sqrtint(s-k^2)) \\ Andrew Howroyd, Jul 11 2024
(Python)
def A374532(n): return sum(isqrt(k*((n<<1)-k)+1) for k in range(n))<<2 # Chai Wah Wu, Jul 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas Otten, Jul 10 2024
STATUS
approved