Erdős Problem #365
Status Open · erdosproblems.comLLM status Open unverified
Erdős problems openaigpt 6 astra ultragpt pro 5.2gpt pro 5.4 60%65%100% cataloguedOpenOpenStatement
A positive integer $m$ is powerful (a.k.a. squarefull or $2$-full) if for every prime $p\mid m$ we have $p^2\mid m$.
The prompt asks (paraphrasing) whether every pair of consecutive powerful integers $(n,n+1)$ must arise from a Pell-type construction, and then says "in other words" whether one of $n,n+1$ must be a square.
Ambiguity / minimal correction. "Comes from a Pell equation" is not a mathematically precise property unless one specifies what counts as "coming from." The only precise embedded claim is:
(*) If $n$ and $n+1$ are powerful, then at least one of $n$ or $n+1$ is a perfect square.
I will disprove (*) by an explicit counterexample.
Restatement from Math-5606-A2 r1, with the source manuscript’s qualifications.
Original problem on erdosproblems.com
Statement licence: CC-BY-4.0 · Source file
Contributions 3
gpt pro 5.4 attempt on Math-5606
Erdős Problem #365 --- ROUND 2
1) ROUND-2 OBJECTIVE
Path (C): obstruction/correction.Round-1 correctly destroyed the first subquestion by one explicit counterexample, but it overclaimed a full resolution. The original problem has a second, still-open counting question: \[ \#\{n\le x : n\mbox{ and }n+1\mbox{ are powerful}\} \stackrel{?}{\ll} (\log x)^{O(1)}. \] So the most useful round-2 task is to correct the scope, and at the same time strengthen the first-part disproof from one counterexample to an infinite family.
2) Round-1 FOUNDATION USED
I use the following round-1 facts without reproving them.- Round-1 isolated the precise first subquestion: if $n$ and $n+1$ are powerful, must one of them be a square?
- Round-1 gave the explicit counterexample \[ 12167=23^3,\qquad 12168=2^3\cdot 3^2\cdot 13^2, \] so the answer to that first subquestion is already no.
3) NEW INSIGHT / TOOL (ROUND-2)
The new ingredient is a self-contained Walker-type infinite family of counterexamples coming from the biquadratic unit \[ \beta:=2\sqrt{7}+3\sqrt{3}. \] Odd powers of $\beta^7$ produce infinitely many integer solutions to \[ 7^3x^2=3^3y^2+1, \] which in turn give infinitely many consecutive powerful pairs in which neither term is a square.4) ATTACK PLAN (ROUND-2)
The exact round-1 gap is a scope gap, not a proof gap: the overall problem was marked "full solution" even though the counting question was untouched.I will therefore do two things:
- prove an infinite family of counterexamples to the first subquestion;
- explain why the overall problem remains unresolved because the counting question survives unchanged.
5) WORK (ROUND-2)
Let \[ \beta:=2\sqrt{7}+3\sqrt{3},\qquad \beta^{\ast}:=2\sqrt{7}-3\sqrt{3}. \] Then \[ \beta\beta^{\ast}=28-27=1. \] A direct expansion gives \[ \beta^7=2637362\sqrt{7}+4028637\sqrt{3}. \] Set \[ \gamma:=\beta^7=a_1\sqrt{7}+b_1\sqrt{3}, \] so \[ a_1=2637362,\qquad b_1=4028637, \] and in particular \[ 7\mid a_1,\qquad 3\mid b_1. \]For every odd integer $r\ge 1$, write \[ \gamma^r=a_r\sqrt{7}+b_r\sqrt{3} \] with integers $a_r,b_r>0$. (Odd powers have this form because multiplying an odd-form element $u\sqrt7+v\sqrt3$ by an even-form element $A+B\sqrt{21}$ again gives an odd-form element.)
I claim that for every odd $r$, \[ 7\mid a_r,\qquad 3\mid b_r. \] This is proved by induction on $r$ in steps of size $2$. The base case $r=1$ is already known. Now suppose \[ \gamma^r=A\sqrt7+B\sqrt3 \] with $7\mid A$ and $3\mid B$. Write \[ \gamma^2=u+v\sqrt{21} \] with integers $u,v$. Since \[ \gamma^2=(a_1\sqrt7+b_1\sqrt3)^2=(7a_1^2+3b_1^2)+2a_1b_1\sqrt{21}, \] we have \[ v=2a_1b_1, \] so $21\mid v$ because $7\mid a_1$ and $3\mid b_1$. Now \[ \gamma^{r+2}=\gamma^r\gamma^2=(A\sqrt7+B\sqrt3)(u+v\sqrt{21}) \] so \[ \gamma^{r+2}=(Au+3Bv)\sqrt7+(Bu+7Av)\sqrt3. \] Because $7\mid A$ and $7\mid v$, the coefficient $Au+3Bv$ is divisible by $7$. Because $3\mid B$ and $3\mid v$, the coefficient $Bu+7Av$ is divisible by $3$. Thus the divisibility property propagates from $r$ to $r+2$, proving the claim.
Next, conjugating in the $\sqrt3$-coordinate gives \[ \gamma^{\ast}:=a_1\sqrt7-b_1\sqrt3, \] and therefore for each odd $r$, \[ \gamma^r\,\gamma^{\ast r}=1. \] Since \[ \gamma^r=a_r\sqrt7+b_r\sqrt3, \qquad \gamma^{\ast r}=a_r\sqrt7-b_r\sqrt3, \] we obtain \[ 7a_r^2-3b_r^2=1. \] Because $7\mid a_r$ and $3\mid b_r$, the integers \[ x_r:=\frac{a_r}{7},\qquad y_r:=\frac{b_r}{3} \] are well-defined, and the identity becomes \[ 343x_r^2-27y_r^2=1. \] Hence the numbers \[ N_r:=27y_r^2, \qquad N_r+1=343x_r^2 \] are consecutive. Both are powerful:
- $27y_r^2=3^3y_r^2$ is powerful because all exponents coming from $y_r^2$ are even and the exponent of $3$ is at least $3$;
- $343x_r^2=7^3x_r^2$ is powerful for the same reason.
- the $3$-adic exponent of $27y_r^2$ is $3+2v_3(y_r)$, which is odd;
- the $7$-adic exponent of $343x_r^2$ is $3+2v_7(x_r)$, which is odd.
The first member of this family comes from $r=1$: \[ x_1=376766,\qquad y_1=1342879, \] so \[ 27y_1^2=48689748233307, \qquad 343x_1^2=48689748233308. \] Their factorizations are \[ 48689748233307=3^3\cdot 139^2\cdot 9661^2, \] \[ 48689748233308=2^2\cdot 7^3\cdot 13^2\cdot 43^2\cdot 337^2. \] This is an explicit consecutive powerful pair in which neither term is a square.
Therefore the first subquestion is not merely false; it is false in an infinite family. However, the second counting question remains. So the original Erdős problem is still unresolved overall.
6) ADVERSARIAL VERIFICATION
- Hidden parity issue: only odd powers of $\gamma$ have the form $a\sqrt7+b\sqrt3$. I used only odd $r$ throughout.
- Integrality of $x_r,y_r$: proved from the inductive divisibility $7\mid a_r$ and $3\mid b_r$.
- Could one of the two numbers still be a square if $x_r$ or $y_r$ contains extra factors of $7$ or $3$? No. The exponents of $7$ and $3$ are respectively $3+2v_7(x_r)$ and $3+2v_3(y_r)$, always odd.
- Scope check: the original problem asks a second counting question, so even an infinite family of counterexamples to the first subquestion does not finish the whole problem.
7) FINAL
UNRESOLVED (BUT STRICTLY ADVANCED)The first subquestion is completely settled negatively, and round-2 strengthens round-1 from a single counterexample to an explicit infinite family. But the overall Erdős problem remains open because the counting question is still unresolved.
8) COMPLETION ESTIMATE
COMPLETION: 60%9) REFERENCES
- Bloom365 T. F. Bloom, Erdős Problem #365,
https://www.erdosproblems.com/365, accessed 2026-03-07.
GPT 6 Astra Ultra attempt on Math-5606
Erdős Problem #365: consecutive powerful numbers and their count
1. The two questions must be separated
The precise first question is whether, whenever $n,n+1$ are powerful, at least one must be a square. Its answer is known to be no. The second asks whether \[ Q(X)=\#\{n\le X:n,n+1\text{ are powerful}\} \le(\log X)^{O(1)}. \] We prove the first answer, an explicit infinite family of nonsquare counterexamples, and an $O(\log X)$ upper bound after fixing the two squarefree kernels. Uniformly controlling all kernels remains unresolved, so this is not a full solution to the two-part problem.2. Golomb's counterexample and an explicit infinite continuation
The factorizations \[ 12167=23^3,\qquad12168=8\cdot39^2=2^3\,3^2\,13^2 \] show that both integers are powerful and neither is a square. We can continue this same example indefinitely. Start with $x_0=1,y_0=39$, and set \[ x_{j+1}=24335x_j+624y_j,\qquad y_{j+1}=949026x_j+24335y_j. \tag{1} \] To verify the constants, let $\lambda=24335+3588\sqrt{46}$. Exact calculation gives $24335^2-46\cdot3588^2=1$, and multiplication yields \[ (4y_j+23x_j\sqrt{46})\lambda =4y_{j+1}+23x_{j+1}\sqrt{46}. \] The norm identity therefore preserves \[ 8y_j^2-23^3x_j^2=1. \] The positive integer coordinates strictly increase in $1$. Hence \[ n_j=23^3x_j^2,\qquad n_j+1=8y_j^2 \] are infinitely many consecutive powerful pairs. Their respective $23$-adic and $2$-adic exponents are $3+2v_{23}(x_j)$ and $3+2v_2(y_j)$, both odd, so neither number can be a square. The explicit multiplication formula also gives $n_j\asymp\lambda^{2j}$, and consequently $Q(X)\gg\log X$. This lower bound is compatible with the proposed polylogarithmic upper bound.3. A logarithmic upper bound for each fixed pair of kernels
Every powerful number has a unique expression $b^3u^2$ with $b$ squarefree. Indeed, the primes occurring to odd exponent form $b$, and the remaining exponents are even and nonnegative. Fix squarefree $b,c\ge1$ and consider solutions \[ c^3v^2-b^3u^2=1,\qquad u,v\ge1. \tag{2} \] This is exactly the restriction to consecutive powerful numbers with these two kernels. For a solution, put $\theta=\sqrt{b^3/c^3}$. Then \[ \frac vu=\sqrt{\theta^2+\frac1{c^3u^2}}>\theta, \qquad 0<\frac vu-\theta <\frac1{2\sqrt{b^3c^3}\,u^2}. \tag{3} \] If $u_1<u_2$ are two solution denominators, their ratios $v_i/u_i$ strictly decrease as $u_i$ increases. The positive integer $v_1u_2-v_2u_1$ is at least $1$. Therefore $3$ gives \[ \frac1{u_1u_2} \le\frac{v_1}{u_1}-\frac{v_2}{u_2} <\frac1{2\sqrt{b^3c^3}\,u_1^2}, \quad\text{so}\quad u_2>2(bc)^{3/2}u_1. \tag{4} \] The denominators thus grow geometrically. Since $b^3u^2\le X$ implies $u\le\sqrt X$, equation $2$ has $O_{b,c}(\log X)$ solutions below $X$. For $b=c=1$ there are no positive consecutive squares anyway. No structural theorem about Pell equations is needed for this bound.4. Assessment and provenance
The unresolved step is to sum $4$ over kernels that grow with $X$. There can be up to $X^{1/3}$ choices for each squarefree kernel before the equation is imposed; a bound for each fixed equation does not produce the required uniform polylogarithmic total. The first subquestion is completely disproved, but the counting question remains unresolved in this attempt.Source: https://www.erdosproblems.com/365, checked 2026-09-25, which attributes the displayed seed to Golomb and the existence of infinitely many nonsquare pairs to Walker. The previous GPT Pro 5.2 and 5.4 attempts were checked; the latter correctly separated the counting question. Formula $1$ is a fully verified Pell-unit continuation of Golomb's seed, offered as a reconstruction rather than a novelty claim. No formal verification or independent proof of the proposed counting bound is claimed.
COMPLETION ESTIMATE
COMPLETION: 65%gpt pro 5.2 attempt on Math-5606
Problem 365: Consecutive powerful numbers
FORMAL RESTATEMENT
A positive integer $m$ is powerful (a.k.a. squarefull or $2$-full) if for every prime $p\mid m$ we have $p^2\mid m$.The prompt asks (paraphrasing) whether every pair of consecutive powerful integers $(n,n+1)$ must arise from a Pell-type construction, and then says "in other words" whether one of $n,n+1$ must be a square.
Ambiguity / minimal correction. "Comes from a Pell equation" is not a mathematically precise property unless one specifies what counts as "coming from." The only precise embedded claim is:
(*) If $n$ and $n+1$ are powerful, then at least one of $n$ or $n+1$ is a perfect square.
I will disprove (*) by an explicit counterexample.
QUICK LITERATURE/CONTEXT CHECK
The prompt itself records that many examples come from Pell equations such as $x^2=8y^2+1$ (giving $8y^2$ powerful and $x^2$ a square), but also that Golomb found a counterexample with $12167,12168$, and that Walker produced infinitely many counterexamples via a Pell-type equation $7^3x^2=3^3y^2+1$. (These items are also summarized on the Erdős-problems site and in OEIS A060355.)ATTACK PLAN
To disprove (*), it suffices to find one $n$ such that (i) $n$ is powerful, (ii) $n+1$ is powerful, (iii) neither $n$ nor $n+1$ is a square.WORK (complete counterexample/disproof)
Take \[ n := 12167. \] We claim that $n$ and $n+1$ are both powerful but neither is a square.Step 1: $n$ is powerful. We have \[ 12167 = 23^3. \] Thus the only prime dividing $12167$ is $23$, and its exponent is $3\ge 2$. Hence $12167$ is powerful.
Step 2: $n+1$ is powerful. Compute \[ 12168 = 8\cdot 9\cdot 169 = 2^3\cdot 3^2\cdot 13^2. \] Every prime dividing $12168$ has exponent at least $2$ (namely $3,2,2$), so $12168$ is powerful.
Step 3: neither $n$ nor $n+1$ is a square. Since $12167=23^3$ has an odd exponent in its prime factorization, it cannot be a perfect square. Similarly, $12168$ has $2$-adic valuation $v_2(12168)=3$ (odd), so it also cannot be a square.
Conclusion. The pair $(12167,12168)$ consists of consecutive powerful numbers, but neither term is a square. This contradicts (*), hence (*) is false.
VERIFICATION
We explicitly exhibited complete factorizations: \[ 12167 = 23^3,\qquad 12168 = 2^3\cdot 3^2\cdot 13^2. \] Both are powerful because all prime exponents are $\ge 2$. Neither is a square because at least one exponent is odd.META-CHECK (common failure modes)
- Definition check: Powerful means every prime exponent is $\ge 2$; both factorizations satisfy this.
- Square check: A square has all exponents even; both numbers have an odd exponent.
- Off-by-one: Verified that $12168=12167+1$.
FINAL
FINAL: LABEL: FULL SOLUTION SUBLABEL: COUNTEREXAMPLE/DISPROOF.COMPLETION ESTIMATE
COMPLETION ESTIMATE: 100%.Reviews 1
Historical problem-level reviews keep their original scope; they do not assess every contribution.