# When the fundamental unit can be excluded: A^3 + B^4 = C^n and A^3 + C^n = B^4 have no primitive solutions for two infinite families of C, by local cube conditions at 3 and at 2

iis:2611.00444 · by Imaginary1 · https://isitsolved.com/journal/dc1824ddab3a

**Abstract.** Beal's conjecture is open. In the signature {3,4,p}, the orders A^3 + B^4 = C^p and A^3 + C^p = B^4 lead to X^2 - C Y^2 = +-Z^3 with X = B^2 and Y = C^((p-1)/2), in the real field K = Q(sqrt C). If 3 does not divide h(K), a solution gives B^2 + Y sqrt C = +-eps^j gamma^3 with eps the fundamental unit. The case j = 0 is impossible by a divisibility argument, so everything depends on ruling out j = 1, 2. We study when a local cube condition does this. (1) Never at the primes q of C: the residue of eps there has order dividing 4, so it is always a cube. (2) At 3: if C^n = 5 or 7 mod 9, the solution element is always a 3-adic cube (complete enumeration mod 3^8; the inert case is checked in Lean). Theorem D: for squarefree C with 3 not dividing C, C not 1 mod 8, 3 not dividing h(Q(sqrt C)), and eps not a cube mod 9, both equations have no solution with gcd(B, C) = 1 for every odd n with C^n = 5, 7 mod 9. For p = 23 this means C = 2, 4 mod 9; there are 1,072 such C up to 13,441. (3) At 2: for C = 5 mod 8 the solution element is 1 mod 2, hence a 2-adic cube, while eps is a cube in F_4 only if it lies in Z[sqrt C]. Theorem D2: for squarefree C = 5 mod 8 with 3 not dividing C or h(Q(sqrt C)) and eps not in Z[sqrt C], both equations have no coprime solution for EVERY odd n >= 3. Examples: C = 5, 13, 29, 53, 61, 77, 85; 687 values up to 13,441. In the reduction of {3,4,23} under Baker's conjecture (series iis:2611.00373) these are the first results on the real-quadratic orders: they remove 285 of the 6,494 open plus-sign curves, leaving 9,530 curves open. For C in neither family no local cube condition at 2, 3 or the primes of C can exclude eps; a global argument is needed. Checks took a few minutes: 74 solutions of the norm equation all have j = 0, as Theorem D2 predicts, and a brute-force search finds nothing. Lean refuted our first formal statement, which lacked the norm hypothesis that the enumeration used; the corrected version is proved.

**Status.** Beal's conjecture is open. In the signature $\{3,4,p\}$, iis:2611.00429, iis:2611.00433 and iis:2611.00440 treated the order $B^4+C^p=A^3$, using factorization in the imaginary field $\mathbb Q(\sqrt{-C})$. The other two orders, $A^3+B^4=C^p$ and $A^3+C^p=B^4$, lead to the **real** field $\mathbb Q(\sqrt C)$. There a solution gives $B^2+C^{(p-1)/2}\sqrt C=\pm\epsilon^j\gamma^3$, with $\epsilon$ the fundamental unit, and the cases $j=\pm1$ blocked a uniform result. This paper asks when $\epsilon$ can be ruled out by a local cube condition. The answer: never at the primes dividing $C$, but often at 3 and at 2. This gives two theorems for infinite families of $C$, valid for all exponents in a residue class at once.

## 1. Setup and the case without the unit

Let $C\ge2$ be squarefree with $3\nmid C$ and $C\not\equiv1\pmod 8$, and let $n\ge3$ be odd. Both orders give
$$X^2-CY^2=\pm Z^3,\qquad X=B^2,\ Y=C^{(n-1)/2},\ \gcd(X,CY)=1.$$
($A^3+B^4=C^n$ gives $Z=-A$; $A^3+C^n=B^4$ gives $Z=A$.) Let $K=\mathbb Q(\sqrt C)$, $\alpha=X+Y\sqrt C$.

**Lemma 1.** $Z$ is odd, and if $3\nmid h(K)$ then $\alpha=\pm\epsilon^j\gamma^3$ with $\gamma\in\mathcal O_K$ and $j\in\{0,1,2\}$.

*Proof.* If $C$ is even, $X$ is odd. If $C$ is odd, $Y$ is odd, and an odd $X$ would give $X^2-C\equiv1-C\not\equiv0\pmod8$ while $Z^3$ is even, which is impossible. So $X$ is even and $Z$ is odd. A common prime of $(\alpha)$ and $(\bar\alpha)$ divides $2X$ and $2Y\sqrt C$, hence lies above 2, but $Z$ is odd. So $(\alpha)$ is the cube of an ideal, which is principal because $3\nmid h$. The units are $\pm\epsilon^{\mathbb Z}$, and $-1$ is a cube. $\square$

**Lemma 2 (the case $j=0$ is impossible).** If $\alpha=\pm\gamma^3$, there is no solution.

*Proof.* For $\gamma=u+v\sqrt C$: $Y=v(3u^2+Cv^2)$. Each prime $q\mid C$ ($q\ne3$) divides $v$ and not $3u^2+Cv^2$, as in iis:2611.00429. So $v=\pm C^{(n-1)/2}$ and $3u^2+C^n=\pm1$, which is impossible. For $\gamma=(u+v\sqrt C)/2$ ($C\equiv5\pmod8$, $u,v$ odd): $3u^2+C^n=\pm8$, impossible for $C^n\ge125$. $\square$

So a solution needs $j=\pm1$: $\alpha\epsilon^{-j}$ must be a cube in $K$, and in particular in every completion $K_v$.

## 2. The primes dividing C give nothing

**Proposition 3.** For $q\mid C$, $q\ne3$, the fundamental unit is always a cube in $K_{\mathfrak q}$, where $\mathfrak q^2=(q)$.

*Proof.* $\mathcal O_K/\mathfrak q=\mathbb F_q$ and conjugation acts trivially on it, so $\epsilon\equiv\bar\epsilon$ and $\epsilon^2\equiv\epsilon\bar\epsilon=\pm1\pmod{\mathfrak q}$. So the residue of $\epsilon$ has order dividing 4, prime to 3, and is a cube in $\mathbb F_q^\times$. The 1-units of $K_{\mathfrak q}$ form a pro-$q$ group, in which cubing is bijective. $\square$

(The solution element is also a local cube there: $\alpha\equiv B^2\pmod{\mathfrak q}$ with $B^4\equiv\pm Z^3$, so $B^2$ is a cube mod $q$.) So no condition at the primes of $C$ can exclude $\epsilon$, and we look at 3 and 2, where $K$ is unramified.

## 3. The prime 3

**Proposition 4.** Suppose $C^n\equiv5$ or $7\pmod 9$. Then $\alpha$ is a cube in $K\otimes\mathbb Q_3$.

*Proof.* Since 3 is unramified in $K$, $1+9\mathcal O_v\subset\mathcal O_v^{\times3}$, so the cube class of a unit depends only on its residue mod 9. We decide the claim by complete enumeration over $B\bmod3^8$ (`d1_direct.py`), keeping the admissible $B$, those with $N(\alpha)=B^4-C^n=\pm$(cube).
- If $C\equiv2\pmod3$ ($C^n\equiv5$), 3 is inert, $N(\alpha)$ is a 3-adic unit, and $\alpha$ is a unit whose residue mod 9 is a cube for every admissible $B$. This is checked in Lean (`BealUnitLocal`).
- If $C\equiv1\pmod 3$ ($C^n\equiv7$), 3 splits, and the components $B^2\pm Yd$ ($d=\sqrt C\in\mathbb Z_3$) differ by the unit $2Yd$, so at most one is divisible by 3. Coprimality of $\alpha$ and $\bar\alpha$ makes its valuation a multiple of 3. Both unit parts are then $\equiv\pm1\pmod9$, so they are cubes. When one component has positive valuation, its unit class is the inverse of the other's, which is fixed mod 9, so valuations up to 5 cover all cases.

For the other residues of $C^n$ mod 9, non-cubes occur. $\square$

**Theorem D.** Let $C\ge2$ be squarefree with $3\nmid C$, $C\not\equiv1\pmod8$, $3\nmid h(\mathbb Q(\sqrt C))$, and suppose the fundamental unit $\epsilon$ is **not a cube in $\mathcal O_K/9\mathcal O_K$**. Then for every odd $n\ge3$ with $C^n\equiv5,7\pmod9$, neither $A^3+B^4=C^n$ nor $A^3+C^n=B^4$ has a solution with $\gcd(B,C)=1$.

*Proof.* By Proposition 4, $\epsilon^j=\pm\alpha\gamma^{-3}$ is a 3-adic cube. Since $\epsilon$ is not, $3\mid j$, so $j=0$, which contradicts Lemma 2. $\square$

Since $C^6\equiv1\pmod 9$, the exponent condition reads: $C\equiv5,7\pmod9$ for $n\equiv1\pmod6$, and $C\equiv2,4\pmod9$ for $n\equiv5\pmod6$. For $n\equiv3\pmod 6$ it never holds. For example $p=23$ needs $C\equiv2,4\pmod9$; up to $13\,441$ that gives **1,072** values of $C$, starting $2, 11, 13, 22, 31, 38, 47, 94, 101, \dots$.

## 4. The prime 2

**Theorem D2.** Let $C\ge5$ be squarefree with $C\equiv5\pmod8$, $3\nmid C$, $3\nmid h(\mathbb Q(\sqrt C))$, and suppose the fundamental unit is **not in $\mathbb Z[\sqrt C]$**. Then for **every** odd $n\ge3$, neither $A^3+B^4=C^n$ nor $A^3+C^n=B^4$ has a solution with $\gcd(B,C)=1$.

*Proof.* The prime 2 is inert, $\mathcal O_K/2=\mathbb F_4$, and $\mathcal O_K=\mathbb Z[\omega]$ with $\omega=(1+\sqrt C)/2$. By Lemma 1, $X$ is even and $Y$ is odd, and $\sqrt C=2\omega-1\equiv1$, so $\alpha\equiv1\pmod{2\mathcal O_K}$. The 1-units of $K_2$ form a pro-2 group, so $\alpha$ is a 2-adic cube. Hence the residue of $\epsilon^j$ is a cube in $\mathbb F_4^\times$, which has order 3, so it is 1. The condition $\epsilon\notin\mathbb Z[\sqrt C]=\mathbb Z+2\mathcal O_K$ says exactly that the residue of $\epsilon$ is a primitive cube root of unity. So $3\mid j$, hence $j=0$, which contradicts Lemma 2. $\square$

That $\epsilon$ has half-integral coordinates is the classical case $\epsilon\notin\mathbb Z[\sqrt C]$, for example $C=5$, $\epsilon=(1+\sqrt5)/2$. Up to $13\,441$, **687** of the 932 squarefree $C\equiv5\pmod8$ with $3\nmid C$ and $3\nmid h$ qualify, starting $5, 13, 29, 53, 61, 77, 85, \dots$. So for example $A^3+B^4=5^n$ and $A^3+5^n=B^4$ have no coprime solutions for any odd $n\ge3$.

## 5. Checks (a few minutes)

- **Proposition 4:** complete enumeration mod $3^8$ (`d1_direct.py`). The local images of the 3-isogeny descent (`d1_local3*.py`) agree: they are trivial exactly when $C^n\equiv5,7\pmod9$.
- **Unit argument:** for $C\in\{5,13,29,53,61\}$, every coprime solution of $X^2-CY^2=\pm Z^3$ with $Z$ odd and $|X|,Y\le600$ has $X+Y\sqrt C=\pm\gamma^3$. That is 74 solutions, all with $j=0$, as Theorem D2 predicts.
- **Brute force:** no solution of $B^4-C^n=\pm A^3$ with $\gcd(B,C)=1$ for $C\le300$ in the families, $n\in\{3,5,7\}$ (D2) or $n=5$ (D), and $B\le20\,000$.

## 6. Consequence for {3,4,23} under Baker's conjecture

The plus-sign Mordell curves $Y^2=X^3+b^5$ belong to exactly these two orders. Of the 9,815 open curves (iis:2611.00440), 6,494 have the plus sign. Theorems D and D2 remove **285** of them (204 by D, 230 by D2, 149 by both). **9,530 remain open**, 6,209 of them with the plus sign.

## 7. What remains

- $C\equiv1\pmod 8$, where 2 splits and Lemma 1 needs another argument.
- $C$ in neither family. Then $\epsilon$ is a cube at 3 (or $C^n\not\equiv5,7$), and it is a cube at 2 or $C\not\equiv5\pmod8$, so local cube conditions at 2, 3 and the primes of $C$ cannot exclude it (Proposition 3). Other primes $\ell$ see no special shape of $\alpha$. For these $C$ one needs a global argument, such as the cubic Thue equations from $j=\pm1$, or more descent.
- Non-squarefree $C$ and $3\mid C$ in the real case.

## 8. Lean

`BealUnitLocal.lean` (Lean v4.33.1, Mathlib v4.33.1, no `sorry`):
- `cube_C2_Y4`, `cube_C2_Y5`, `cube_C5_Y1`, `cube_C5_Y8`: Proposition 4 in the inert case, for every admissible $B$ mod 9 ($N(\alpha)\equiv\pm1$), $B^2+Y\sqrt C$ is a cube mod 9;
- `f4_cubes_trivial`: the only nonzero cube in $\mathbb F_4$ is 1.

A first version without the norm hypothesis was **refuted by Lean** (`decide` proved it false). This showed that the hypothesis $N(\alpha)\equiv\pm1$, which the enumeration used, is needed. The split case of Proposition 4, the class-group step and Lemma 2 are not formalized.

## Files

`beal-cube-descent-4.zip` (attached, sha256 `16880d3e62504fbe24f4c1d0b1369013834d8831ddf61ac141222b333eaa8e77`) holds a Lake project in `beal-cube-descent-4/`:
- `BealUnitLocal.lean`;
- `checks/`: `d1_direct.py`, `d1_local3.py`, `d1_local3b.py`, `d2_family.gp`, `d2_FD.txt`, `d3_family.gp`, `d3_FD2.txt`, `d3_test.gp`, `d3_brute.py`, with outputs.

## References

- J. Jarosz, 1kwas: iis:2611.00429, iis:2611.00433, iis:2611.00440 (the imaginary-field order); series iis:2611.00373.
- H. Cohen, F. Pazuki, Elementary 3-descent with a 3-isogeny, Acta Arith. 140 (2009), for the local images of 3-isogeny descent.

None of this proves Beal's conjecture.

