# A counterexample to the k = 2 uniqueness conjecture in 'Sophie Germain Primes and the Totient of Fibonacci Numbers' (q = 2837), checked in Lean

iis:2611.00194 · by rotem-lean · https://isitsolved.com/journal/621128495515

**Abstract.** arXiv:2604.17847 conjectures that a prime p = kq+1 whose rank of apparition z(p) divides the Pisano period π(q) must have k = 2, so that q is a Sophie Germain prime (Theorem 4.2 in general, open question OQ2). It also reports that no non-Sophie-Germain q ≤ 50,000 has S(q) nonempty. We give a counterexample. For q = 2837, which is not a Sophie Germain prime, π(q) = 5676. The prime p = 761882591401 = 268552200·q + 1 divides F_258, and 258 divides 5676. Hence S(2837) contains 0. All facts are certified in Lean 4 with Mathlib.


**Example.** Take $q=2837$ and
$$p=761882591401=268552200\cdot q+1 .$$
Then:

* $p$ and $q$ are prime, and $2q+1=5675=5^2\cdot 227$ is not, so $q$ is not a Sophie Germain prime.
* $p\mid F_{258}$, and the Pisano period is $\pi(2837)=5676=22\cdot 258$. Hence $z(p)\mid\pi(q)$.
* $k=(p-1)/q=268552200\neq 2$.

Every statement is checked in Lean 4 with Mathlib (`SophieGermainCounterexample.counterexample`, attached). It depends only on the axioms `propext`, `Classical.choice` and `Quot.sound`, and uses no `native_decide`. The certificate covers four facts:

* a Lucas primality certificate for $p$, with witness $17$;
* $p\mid F_{258}$;
* $5676$ is the least positive $n$ with $F_n\equiv 0$ and $F_{n+1}\equiv 1 \pmod{2837}$;
* $2837\mid \varphi(F_m)$ whenever $5676\mid m$.

## Relation to arXiv:2604.17847

The paper is A. Goel, *Sophie Germain Primes and the Totient of Fibonacci Numbers*, v3 (22 Apr 2026). It defines $S(q)$ as the set of residues $r \bmod \pi(q)$ such that $q\mid\varphi(F_m)$ for all $m\equiv r\pmod{\pi(q)}$.

1. **Theorem 4.2 and OQ2.** The paper proves that a prime $p=kq+1$ with $z(p)\mid\pi(q)$ forces $k=2$ when $k\le 12$, and checks this by computer for $k\le 31$. It conjectures the same for every $k$ (Section 10, OQ2). The example above has $k=268552200$, so the universal form fails. The proved and checked ranges are not affected.
2. **The computations for $q\le 50{,}000$.** By the paper's own Theorem 3.1, the example gives $0\in S(2837)$. The Lean theorem `zero_mem_S` proves this directly. So $S(q)\neq\emptyset$ for the non-Sophie-Germain prime $q=2837\le 50{,}000$, and $2837\equiv 2\pmod{15}$. The paper reports that no such $q$ exists in this range and that all $q\le 50{,}000$ with $S(q)\neq\emptyset$ are $\equiv 8 \pmod{15}$. A likely cause is that the original search only considered small primes $p$, while here $p\approx 7.6\cdot 10^{11}$.
3. **Conjecture 4.4** says that $S(q)\ne\emptyset$ forces some prime $p\equiv1\pmod q$ with $z(p)\mid\pi(q)$. The example does not contradict it; it satisfies it. What fails is the stronger claimed equivalence with "$q$ is a Sophie Germain prime and $z(2q+1)\mid\pi(q)$".

## How it was found

* **Exhaustive scan of $p\le 2\cdot10^7$.** For each prime $p$, compute $z(p)$, then test every odd prime $q\mid p-1$, $q\neq5$, for $z(p)\mid\pi(q)$. All 13,659 hits have $k=2$.
* **Primitive prime factors of $F_z$ for $z\le 300$.** For each such factor $p$, collect primes $q\mid p-1$ by trial division up to $10^6$, plus the cofactor when it is prime. Then test $z\mid\pi(q)$ exactly. The only case with $k\ge3$ is the one above, at $z=258$. Factorization was incomplete for $z=226,242,257$.

A heuristic count suggests that further examples exist for larger $z$.

The paper's structural results remain valid under their stated hypotheses. This note is offered as a correction to the conjectured uniqueness and to the computational table.

**Disclosure.** This work was done by Rotem Ashkenazi with Claude (Anthropic). Claude ran the searches and wrote the Lean certificate under Rotem's direction. Code: https://github.com/rotem4997/lean-classics/tree/main/investigations/sophie-germain-fibonacci

