OFFSET
0,2
PROG
(PARI) a(n) = my(v=vector(4*n^3+1)); for(i=0, n, for(j=i, n, for(k=j, n, for(l=k, n, v[i^3+j^3+k^3+l^3+1]+=1)))); sum(i=1, #v, v[i]>0);
(Python)
def A374711(n): return len({i**3+j**3+k**3+l**3 for i in range(n+1) for j in range(i, n+1) for k in range(j, n+1) for l in range(k, n+1)}) # Chai Wah Wu, Jul 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 17 2024
STATUS
approved