OFFSET
0,2
FORMULA
Using Ikehara's theorem one can show that a(n) is asymptotic to C*n^(5/6) where C is a positive constant >0.7
EXAMPLE
0^3 + 0^2 + 0*0, 0^3 + 1^2 + 0*1, 1^3 + 0^2 + 1*0 are 3 numbers <= 1 hence a(1) = 3.
PROG
(PARI) a(n)=sum(i=0, n, sum(j=0, n, if((sign(i^3+j^2+i*j-n)+1)*sign(i^3+j^2+i*j-n), 0, 1)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Aug 14 2002
EXTENSIONS
Name clarified by Sean A. Irvine, Nov 05 2024
STATUS
approved