OFFSET
0,1
COMMENTS
Conjecture 1: a(n) > 0 for all n >= 0, and a(n) = 1 only for n = 30, 120, 142.
We have verified this for all n <= 10^6.
Conjecture 2: Let S = {x^k: k = 2,3 and x = 0,1,2,...}, and let a be 3 or 4 or 5. Then any nonnegative integer can be written as x + 2*y + a*z, where x,y,z are elements of the set S.
Conjecture 3: Let T = {x^k: k = 2,3,4,... and x = 0,1,2,...}. If (b,c) is among the ordered pairs (1,2), (2,4), (2,5) and (3,2), then each n = 0,1,... can be written as x + b*y + c*z, where x and y are elements of T, and z is a square.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 0..10000
Zhi-Wei Sun, New Conjectures in Number Theory and Combinatorics (in Chinese), Harbin Institute of Technology Press, 2021.
EXAMPLE
a(3) = 4. In fact, 3 = 1^2 + 0^2 + 2*1^2 = 1^2 + 0^2 + 2*1^3 = 1^2 + 0^3 + 2*1^2 = 1^2 + 0^3 + 2*1^3 with 1 >= 0.
a(30) = 1 with 30 = 2^2 + 2^3 + 2*3^2 and 2 >= 2.
a(120) = 1 with 120 = 10^2 + 2^2 + 2*2^3 and 10 >= 2.
a(142) = 1 with 142 = 6^2 + 2^3 + 2*7^2 and 6 >= 2.
MATHEMATICA
tab={}; Do[r=0; Do[If[IntegerQ[((n-x^2-y^k)/2)^(1/m)], r=r+1], {x, 0, Sqrt[n]}, {k, 2, 3}, {y, 0, Min[x, (n-x^2)^(1/k)]}, {m, 2, 3}]; tab=Append[tab, r], {n, 0, 100}]; Print[tab]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Nov 29 2021
STATUS
approved