cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A384100 a(n) is the least positive x such that x^3 + x + n^2 is a perfect square, or 0 if no such x exists.

This page as a plain text file.
%I A384100 #29 May 30 2025 22:41:57
%S A384100 0,72,4128,8,262272,1000200,44,7529928,16777728,34012872,64000800,
%T A384100 113380872,191104128,308917128,12,729001800,4,1544806728,32,
%U A384100 3010939272,4096003200,8,7256317728,9474301128,80,15625005000,19770615072,24794917128,30840985728,38068699272
%N A384100 a(n) is the least positive x such that x^3 + x + n^2 is a perfect square, or 0 if no such x exists.
%C A384100 Otherwise said, first component of the lexicographically earliest positive integer solution (x, y) to x^3 + x + n^2 = y^2. See A384101 for the second component, y.
%C A384100 For any positive n, there is always the solution (x, y) = (8*n^2*(8*n^4 + 1), n*(512*n^8 + 96*n^4 + 3)). Therefore 0 < a(n) <= 8*n^2*(8*n^4 + 1) for all n > 0.
%C A384100 We remark that n = 3 and n = 6 are the only cases below n = 10 for which there is a smaller solution than S(n) = (x, y) given above, while gcd(x, y) = gcd(n, 3) (= 3 iff n is divisible by 3, otherwise 1).
%H A384100 Rik Bos, <a href="https://qr.ae/pAWzEd">How do I show that x^3 + x + a^2 = y^2 has at least one pair of positive integer solution (x, y) for each positive integer a?</a> (Answer), Quora, May 12, 2025.
%F A384100 a(n) <= 8*n^2*(8*n^4 + 1) for all n > 0.
%e A384100 For n = 0, there can't be any positive x for which x^3 + x = x*(x^2 + 1) = y^2, therefore a(0) = 0. (Indeed, x^2 + 1 == 1 (mod x), so x has no factor in common with x^2 + 1 = y^2/x, so x must be a square itself, x = m^2. But then, x^2 + 1 = (y/m)^2 can't have a solution, since x^2 + 1 can't be a square.)
%e A384100 For n = 1, we can check that for x = 1, 2, 3, ..., value of x^3 + x + 1 = 3, 10, 31, ... isn't a square for any x < 72 which is the least positive integer so that x^3 + x + 1 = 72*(72^2 + 1) + 1 = 373321 = (13*47)^2 is a perfect square, thus a(1) = 72.
%e A384100 For n = 2, there is no x < 4128 for which x^3 + x + 2^2 is a square, but 4128*(4128^2+1) + 4 = (2*132611)^2 is indeed the least square of that form, so a(2) = 4128. (As for n = 1, this is the upper limit for a(n), given in FORMULA.)
%e A384100 For n = 3, there is a(3) = x = 8 for which x^3 + x + 3^2 = 529 = 23^2 is a square, much smaller than the upper limit for a(n).
%o A384100 (PARI) apply({A384100(n)=for(x=1, 64*n^6+8*n^2, issquare(n^2+x^3+x) && return(x))}, [0..6])
%Y A384100 Cf. A384101 (the corresponding y-values).
%K A384100 nonn
%O A384100 0,2
%A A384100 _M. F. Hasler_, May 19 2025
%E A384100 More terms from _Jinyuan Wang_, May 26 2025