login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300791 Number of ways to write n as x^2 + y^2 + z^2 + w^2, where w is a positive integer and x,y,z are nonnegative integers for which x or y or z is a square and (12*x)^2 + (15*y)^2 + (20*z)^2 is also a square. 8
1, 3, 1, 1, 6, 1, 1, 3, 2, 8, 2, 2, 7, 2, 2, 1, 8, 6, 2, 8, 1, 3, 1, 1, 9, 8, 4, 3, 7, 3, 3, 3, 6, 9, 4, 4, 7, 5, 1, 8, 8, 4, 3, 3, 11, 2, 1, 1, 4, 11, 3, 8, 8, 4, 4, 2, 3, 8, 4, 2, 8, 3, 4, 1, 15, 9, 3, 9, 3, 5, 2, 6, 10, 11, 5, 3, 5, 6, 2, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Conjecture: a(n) > 0 for all n > 0, and a(n) = 1 only for n = 16^k*m with k = 0,1,2,... and m = 1, 3, 4, 6, 7, 21, 23, 24, 39, 47, 86, 95, 344, 651, 764.
By the author's 2017 JNT paper, each n = 0,1,2,... can be written as the sum of a fourth power and three squares.
See also A300792 for two similar conjectures.
LINKS
Zhi-Wei Sun, Refining Lagrange's four-square theorem, J. Number Theory 175(2017), 167-190.
Zhi-Wei Sun, Restricted sums of four squares, arXiv:1701.05868 [math.NT], 2017-2018.
EXAMPLE
a(6) = 1 since 6 = 0^2 + 1^2 + 1^2 + 2^2 with 0 = 0^2 and (12*0)^2 + (15*1)^2 + (20*1)^2 = 25^2.
a(7) = 1 since 7 = 1^2 + 2^2 + 1^2 + 1^2 with 1 = 1^2 and (12*1)^2 + (15*2)^2 + (20*1)^2 = 38^2.
a(21) = 1 since 21 = 4^2 + 0^2 + 1^2 + 2^2 with 4 = 2^2 and (12*4)^2 + (15*0)^2 + (20*1)^2 = 52^2.
a(39) = 1 since 39 = 5^2 + 2^2 + 1^2 + 3^2 with 1 = 1^2 and (12*5)^2 + (15*2)^2 + (20*1)^2 = 70^2.
a(344) = 1 since 344 = 0^2 + 10^2 + 10^2 + 12^2 with 0 = 0^2 and (12*0)^2 + (15*10)^2 + (20*10)^2 = 250^2.
a(764) = 1 since 764 = 7^2 + 3^2 + 25^2 + 9^2 with 25 = 5^2 and (12*7)^2 + (15*3)^2 + (20*25)^2 = 509^2.
a(8312) = 2 since 8312 = 42^2 + 36^2 + 34^2 + 64^2 with 36 = 6^2 and (12*42)^2 + (15*36)^2 + (20*34)^2 = 1004^2, and 8312 = 66^2 + 16^2 + 44^2 + 42^2 with 16 = 4^2 and (12*66)^2 + (15*16)^2 + (20*44)^2 = 1208^2.
MATHEMATICA
SQ[n_]:=SQ[n]=IntegerQ[Sqrt[n]];
tab={}; Do[r=0; Do[If[(SQ[x]||SQ[y]||SQ[z])&&SQ[(12x)^2+(15y)^2+(20z)^2]&&SQ[n-x^2-y^2-z^2], r=r+1], {x, 0, Sqrt[n-1]}, {y, 0, Sqrt[n-1-x^2]}, {z, 0, Sqrt[n-1-x^2-y^2]}]; tab=Append[tab, r], {n, 1, 80}]; Print[tab]
CROSSREFS
Sequence in context: A273167 A364113 A324284 * A069972 A115017 A088439
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 12 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 17 04:30 EDT 2024. Contains 375198 sequences. (Running on oeis4.)