OFFSET
0,2
COMMENTS
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 0..10000
Zhi-Wei Sun, Sums of four rational squares with certain restrictions, arXiv:2010.05775 [math.NT], 2020-2022.
EXAMPLE
a(231) = 1 with 231 = 0^4 + 3^4 + (10^2 + 23*10^2)/16.
a(437) = 1 with 437 = 3^4 + 4^4 + (40^2 + 23*0^2)/16.
a(1402) = 1 with 1402 = 2^4 + 5^4 + (3^2 + 23*23^2)/16.
a(9727) = 1 with 9727 = 0^4 + 6^4 + (367^2 + 23*3^2)/16.
MATHEMATICA
SQ[n_]:=SQ[n]=IntegerQ[Sqrt[n]]; tab={}; Do[r=0; Do[If[w==0||IntegerQ[Log[2, w]], Do[If[SQ[16(n-w^4-x^4)-23z^2], r=r+1], {x, 0, (n-w^4)^(1/4)}, {z, 0, Sqrt[16(n-w^4-x^4)/23]}]], {w, 0, n^(1/4)}]; tab=Append[tab, r], {n, 0, 100}]; Print[tab]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 23 2022
STATUS
approved