login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A266153
Least positive integer y such that -n = x^4 - y^3 + z^2 for some positive integers x and z, or 0 if no such y exists.
13
3, 3, 2, 6, 13, 2, 3, 5, 5, 3, 28, 4, 15, 4, 10, 33, 3, 7, 5, 238, 31, 3, 4, 5, 3, 11, 4, 5, 21, 11, 6, 4, 17, 11, 5, 98, 7, 4, 4, 5, 147, 19, 5, 4, 5, 6, 4, 29, 75, 1011, 7, 9, 7, 4, 8, 6, 59, 47, 4, 5, 71, 4, 17, 45, 13, 7, 18, 9, 175, 8
OFFSET
1,1
COMMENTS
The conjecture in A266152 implies that a(n) > 0 for all n > 0.
It seems that a(n) < n*(n+4)/2 for all n > 1.
EXAMPLE
a(1) = 3 since -1 = 1^4 - 3^3 + 5^2.
a(2) = 3 since -2 = 2^4 - 3^3 + 3^2.
a(11) = 28 since -11 = 5^4 - 28^3 + 146^2.
a(20) = 238 since -20 = 32^4 - 238^3 + 3526^2.
MATHEMATICA
SQ[n_]:=SQ[n]=n>0&&IntegerQ[Sqrt[n]]
Do[y=Floor[n^(1/3)]+1; Label[bb]; Do[If[SQ[-n+y^3-x^4], Print[n, " ", y]; Goto[aa]], {x, 1, (-n+y^3)^(1/4)}]; y=y+1; Goto[bb]; Label[aa]; Continue, {n, 1, 70}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 22 2015
STATUS
approved