OFFSET
0,2
COMMENTS
Number of integer pairs (x,y) satisfying x^4+y^4 <= n, any -n <= x,y <=n.
EXAMPLE
a(6) = 9 counts (x,y) = (-1,-1), (-1,0), (-1,1), (0,-1), (0,0), (0,1), (1,-1), (1,0) and (1,1).
PROG
(Python)
from math import isqrt
def A175373(n): return 1+(sum(isqrt(isqrt(n-x**4)) for x in range(isqrt(isqrt(n))+1))<<2) # Chai Wah Wu, Feb 23 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Apr 24 2010
STATUS
approved
