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!)
A344058 Number of ways to write n as x + y + z with x*y + 2*y*z + 3*z*x a square, where x,y,z are positive integers with x or y a power of two (including 2^0 = 1). 1
0, 0, 0, 1, 2, 1, 1, 1, 3, 2, 2, 5, 3, 2, 5, 1, 5, 5, 2, 8, 5, 3, 9, 5, 3, 8, 4, 7, 7, 6, 11, 1, 8, 5, 4, 14, 6, 2, 5, 8, 9, 6, 8, 11, 8, 10, 5, 5, 13, 5, 7, 18, 17, 6, 9, 7, 5, 7, 6, 14, 11, 12, 7, 1, 12, 10, 14, 9, 13, 6, 10, 14, 14, 11, 10, 9, 7, 6, 10, 8, 8, 12, 7, 12, 12, 10, 11, 11, 8, 10, 10, 25, 15, 7, 18, 5, 11, 13, 13, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
Conjecture: a(n) > 0 for all n > 3.
We have verified a(n) > 0 for all n = 4..10^5. Clearly, a(2*n) > 0 if a(n) > 0.
LINKS
Chao Huang and Zhi-Wei Sun, On partitions of integers with restrictions involving squares, arXiv:2105.03416 [math.NT], 2021.
Zhi-Wei Sun, Refining Lagrange's four-square theorem, J. Number Theory 175(2017), 167-190. See also arXiv:1604.06723 [math.NT].
EXAMPLE
a(6) = 1 with 6 = 3 + 2^0 + 2 and 3*2^0 + 2*2^0*2 + 3*2*3 = 5^2.
a(7) = 1 with 7 = 3 + 2^0 + 3 and 3*2^0 + 2*2^0*3 + 3*3*3 = 6^2.
For each k > 1, we have a(2^k) = 1 with 2^k = 2^(k-2) + 2^(k-1) + 2^(k-2) and 2^(k-2)*2^(k-1) + 2*2^(k-1)*2^(k-2) + 3*2^(k-2)*2^(k-2) = (3*2^(k-2))^2.
MATHEMATICA
SQ[n_]:=IntegerQ[Sqrt[n]];
Pow[x_]:=x>0&&IntegerQ[Log[2, x]];
tab={}; Do[r=0; Do[If[(Pow[x]||Pow[y])&&SQ[x*y+(2y+3x)*(n-x-y)], r=r+1], {x, 1, n-2}, {y, 1, n-1-x}]; tab=Append[tab, r], {n, 1, 100}]; Print[tab]
CROSSREFS
Sequence in context: A161092 A029332 A358172 * A134431 A211098 A070879
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, May 08 2021
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 April 19 16:08 EDT 2024. Contains 371794 sequences. (Running on oeis4.)