The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
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
Sequence in context: A147994 A106365 A200174 * A086636 A115055 A158468
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 22 2015
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 May 17 15:44 EDT 2024. Contains 372603 sequences. (Running on oeis4.)