WorksMathematics
Every friend of 10 has at least eleven distinct prime factors
Abstract
A friend of is a positive integer such that . Whether one exists is an open problem. Thackeray proved that a friend of has at least distinct prime factors. We describe a computer-assisted proof that it has at least . The proof is an exhaustive search over sets of primes, carried out by a recursive certifier written in PARI/GP, which extends the open-source project caioross/solitary10. The new ingredients are a split of ``almost tight'' nodes that avoids enumerating the smallest unknown prime, a treatment of nodes with three or more unknown primes by a saturation dichotomy, a counting rule for unfactored cofactors of cyclotomic values, and the correction of a soundness gap in the earlier closure rule. The certification run for visited nodes in hours on threads. As a consequence, a friend of would be larger than .
Introduction
For a positive integer let be the sum of its divisors and its abundancy index. Two distinct integers are friends if they have the same abundancy index; an integer with no friend is solitary. The smallest integer whose status is unknown is 10, with .
Earlier results
Earlier results. Ward [1] showed that a friend of 10 is an odd square, that its least prime factor is 5, that and that has at least 6 distinct prime factors. Thackeray [2] proved that has at least 10 distinct prime factors, using a bound on the exponents of the known primes (his Corollary 6 and Proposition 9, which we will extend in this paper). Necessary conditions and bounds on the individual prime divisors of are studied in [3, 5, 6]; [4] treats the analogous question for 20. To our knowledge (as of 11 November 2026) no bound beyond Thackeray’s has been announced in the literature.
The project solitary10 [7] is an open-source Python implementation of a recursive certifier for the statement “no friend of 10 has exactly distinct prime factors”. It re-derives Ward’s theorems, eliminates , and documents the node at which the method stops for . Our computational work starts from that code and its documentation, after correcting a closure rule that was unsound (see § 7).
Results
Results. Write for the number of distinct prime factors of .
Theorem 1.1. If and , then .
Combined with an exhaustive bounded search (§ 9) this gives:
Corollary (see Corollary 9.1). Every friend of 10 is larger than .
The proof of Theorem 1.1 consists of the application of mathematical rules described in § 3–§ 7, each of which removes only configurations that contain no friend of 10, and of a computation (§ 8) that applies them until nothing is left for , .
§ 2 fixes the notation and collects the elementary facts used throughout, with proofs. § 3 defines the nodes of the search tree, what it means for a rule to be sound, and proves the index lemma, which is the source of every size bound. § 4 recalls the rules inherited from [7]. § 5 and § 6 state and prove the new rules. § 7 describes the corrected closure rule. § 8–§ 10 describe the computations and their verification.
Notation and elementary facts
Notation
Throughout, , , , and (with or without indices) denote primes, and is used for the lower bound of a node as defined in § 3. When denotes a prime (in the budgets of § 4) we say so explicitly.
| Symbol | Meaning |
| sum of the positive divisors of | |
| abundancy index | |
| number of distinct prime factors of | |
| exponent of the prime in the rational number | |
| multiplicative order of modulo the prime | |
| -th cyclotomic polynomial | |
| , the limit of as | |
| a friend of 10: , | |
| the set of prime factors of ; | |
| the exponent of in | |
| the largest integer | |
| the set of integers with (or the primes in it, when listing primes) |
Table 1.
For a prime and we write . Note that is defined for every integer by the same formula, and we use it for integers as well.
Facts about the abundancy index
Lemma 2.1. Let and let be an integer.
(i) .
(ii) If then .
(iii) For , ; it is strictly increasing in and strictly smaller than .
(iv) For a real number , let and, by a harmless abuse of notation, ; when is a prime these agree with the definitions above, and they are only ever evaluated at bounds for primes. Both are strictly decreasing functions of , and .
Proof. (i) The map is a bijection of the set of divisors of onto itself, so . (ii) When , every divisor of is uniquely a product with , , so . (iii) The divisors of are ; the closed form is the geometric sum. Each increase of adds the positive term , and the infinite sum is . (iv) Both expressions decrease as grows, and .
Ward's theorem and its consequences
Theorem W (Ward). ([1]). Let be a friend of 10. Then is an odd square, its least prime factor is 5, and . Equivalently, with and every even and at least 2.
We use Theorem W as an established result. The following consequences are elementary.
Lemma 2.2 (Product equation, valuations, closure). Let be a friend of 10. Then
and every prime factor of , for every , lies in .
Proof. Equation (1) is together with Lemma 2.1(ii). From we get , and since this gives (2). Every prime factor of is therefore 3 or a prime of . Finally is multiplicative, so , and each prime factor of a factor divides .
Cyclotomic values
The polynomial identity gives, for a prime and ,
For a friend of 10, every is even, so is odd and only odd occur in (3). A prime dividing is called primitive if .
Lemma 2.3. Let be a prime, , and a prime dividing . Then for some . In particular: if is primitive then ; if is not primitive then ; and a prime dividing both and with divides .
Proof. The first statement is a standard property of cyclotomic polynomials (see e.g. [8]). If then by Fermat’s little theorem. If then . If divides and with , then and with . Since are integers, it follows that so divides at least the larger of .
Theorem Z (Zsigmondy). ([8]). Let be coprime integers and . Then has a prime factor that divides no with (a primitive prime divisor), except in the following cases: and ; and is a power of 2; .
We use it in the following form.
Lemma 2.4. Let be a prime and an integer. Then has a primitive prime factor, that is, a prime with and .
Proof. Apply Theorem Z with , and ; these are coprime and . None of the exceptional cases occurs: excludes the first two, and excludes . So has a prime factor that divides no with . In particular , since does not divide , so is defined.
From we get . If , then , which is excluded. Hence .
By the identity used in (3), , so the prime divides for some . If , then divides , so , which is again excluded. Hence , and is a primitive prime factor of .
By Lemma 2.3, primitive primes for different are different. Hence:
Corollary 2.5. For a friend of 10 and , each divisor of provides a prime such that , and different divisors provide different primes.
Proof. Lemma 2.4 gives a primitive prime of ; it divides by (3), so by Lemma 2.2; with excludes ; and determines .
A lemma on fractions
The following trivial fact is used several times; we state it to make the later proofs explicit.
Lemma 2.6 (Denominator lemma). Let with integers and (not necessarily in lowest terms). If then .
Proof. means , so .
Nodes, soundness and the index lemma
Nodes
The certifier proves, for one value of at a time, that no friend of 10 has exactly distinct prime factors. It does so by exploring a tree of nodes, each describing a set of possible friends.
Definition 3.1 (Node). A node consists of:
a finite set of primes (with at least ), the known primes;
an integer , the number of unknown primes;
an integer , the lower bound;
a partial map on assigning fixed exponents ;
for the primes without a fixed exponent (the free primes), a lower bound (default 2) and possibly an upper bound ;
a constraint , which is either empty or one of the constraints defined in § 5 and § 6.
A friend of 10 belongs to if: and ; the exponents satisfy for fixed and for free ; the constraint holds; and the invariant holds: every prime of that is at most lies in .
For a friend belonging to we write the primes of in increasing order as and their exponents as . By the invariant, . The root node for a given is : every friend with belongs to it, since 5 is its least prime (Theorem W).
The bounds attached to a node
For a node, let be if is fixed and otherwise, and let
Define
For a friend belonging to the node, write for the true contribution of the known primes.
Lemma 3.2. For a friend belonging to a node,
Moreover .
Proof. By Lemma 2.1(iii), is increasing in and below , so for each ; multiply. The equation is (1) split into the known and the unknown primes. Since with exponent at least 2, (the other factors are greater or equal to 1), so .
The number measures the gap the unknown primes must fill. A node is called almost tight when is very small.
Rules and soundness
Definition 3.3 (Soundness rule). A rule replaces a node by finitely many nodes (possibly ), its children. The rule is sound if every friend of 10 that belongs to belongs to at least one child.
Proposition 3.4. Suppose the certifier, starting from the root node for , applies only sound rules, and every node it creates is eventually replaced (in particular every node with is decided by an exact search, see § 4). If the process ends with no node left, then no friend of 10 has exactly distinct prime factors.
Proof. Suppose is a friend with . It belongs to the root. By soundness, whenever a node to which belongs is replaced, belongs to one of its children. So at every stage some node in the current set contains , and the set is never empty.
If some node cannot be treated by any rule, the program records a refusal; a run with a refusal proves nothing. A rule that kills a node (replaces it by no children) is sound exactly when no friend belongs to that node.
The index lemma
Lemma 3.5 (Index lemma). (a) For a friend belonging to a node,
(b) Let and let be integers with , where . Then
Proof. (a) By (5), , and by Lemma 2.1(iii); the second inequality is .
(b) Since is decreasing (Lemma 2.1(iv)) and is the smallest, each factor is at most , so . Put , so that . Using we get , hence . For we have (the inequality holds for all ), and gives . So , that is, . □
Remark 3.6. By Lemma 3.2, part (b) always applies with and , giving . This bound is finite, but very large when is small: that is the difficulty Blocks 7 and 8 address.
The rules inherited from solitary10
We recall the rules of [7] (its “Blocks 3–6”). They are restated and proved in the review document distributed with the code; here we state what each one does and the fact it relies on. Below, denotes a prime (not the lower bound of a node).
(R1) Lower index bound. If and , the node is empty, since every unknown contributes a factor in (5).
(R2) Complete sets. If , the finitely many exponent vectors allowed by the closure rule (R3) are tested exactly against (1).
(R3) Closure. For a fixed exponent , the value is computed piece by piece by (3) and factored (up to a size limit, 160 bits in our runs). By Lemma 2.2, each prime factor outside is an unknown prime of ; it is pinned, that is, moved into , and decreases by one. A pin contradicts the invariant, so the node is empty. A composite part that cannot be factored within the limit is an unfactored cofactor (§ 6.6).
(R4) Budgets of 3 and 5. For the number has no odd divisor above 1, while must divide the odd number whenever ; so only primes contribute, and for them (lifting the exponent). By (2),
and each power requires its own primitive prime of in (Corollary 2.5).
(R5) Last unknown. If , some prime divides , so divides ; by Lemma 2.3 its prime factors are (to the power at most 1) and primes , which must be known. So , and since is increasing, each right-hand side gives at most one . Once or the are bounded there are finitely many candidates.
(R6) Exponent bound (Thackeray [2], Corollary 6 and Proposition 9). See Proposition 4.1 below.
(R7) Exponent branching. A free exponent (even, greater or equal to ) is replaced by the children (fixed) and one tail child with . This is a partition of the possible values, hence sound for every choice of .
(R8) Listing the smallest unknown. If nothing else applies, the certifier creates, for each prime , , in increasing order, the child ; this is sound because no prime of lies strictly between and . The listing stops at the first with ; this quantity decreases with , so by Lemma 3.5(a) no later can be either.
For the next statement we need some notation. Fix a prime (so is odd). Put . For let be the number of primes , , with , and for let be the same number with left out. For a sequence and an integer let
For an integer prime to let . For let
Note that , so for every .
Proposition 4.1 (Exponent bound, after Thackeray). Let be a free prime and let be integers. Let and for , and
where, with (the second term only if has an upper bound ),
Then every friend belonging to the node with () has . (The bound holds friend by friend; it is not required that every friend of the node satisfies .)
Proof. Let be such a friend.
Step 0: the valuation identity. By (2), . Since and is multiplicative,
For a known prime with a fixed exponent the term is computed exactly. We need to bound the term of a free known prime by , and the term of each unknown by .
Step 1: the valuation of one term. Let be a prime and even, and let . Since and is odd, lifting the exponent gives:
if : , so ;
if and : and . Here and , because divides , which is prime to . So ;
if and : and .
The exponent is even (Theorem W), so is odd, and an even never divides it: a prime of even order modulo contributes 0. In all cases
and the left-hand side is 0 when is even.
Step 2: the levels . Let , , and . For the number divides , so divides by (3). By Lemma 2.4, has a prime factor with ; hence , the primes are distinct, none is or , and each lies in (Lemma 2.2). Fix . The primes are all . Those that are known lie in , so there are at most of them ( if ). The others are unknown primes different from : at most of them if is known, at most if is itself unknown. Therefore for every , with or , that is . Moreover when has an upper bound. This gives for a free known prime and for an unknown, and with (7) the bound for a free known prime.
Step 3: the term of an unknown. Let be an unknown with . If there is nothing to prove, since . Otherwise ; let , so . The congruence has exactly solutions modulo , one in each non-zero class modulo , namely for . Since , the residue of modulo is one of those with , so , hence . The sequence is non-decreasing in , because a solution modulo reduces to a solution modulo in the same class modulo , and the residue can only grow. So .
Putting Steps 1–3 into (6) gives . □
This is essentially Corollary 6 and Proposition 9 of [2], with one change: Step 3 is applied to each unknown separately, so each unknown may have its own bound , where [2] uses one bound for all. We use the method of [2 Corollary 6], but not its original statement. The primes counted in Step 2 are the primitive prime factors of ; they divide , and Step 2 places them in by Lemma 2.2 without any assumption on their size. The bounds are used only in Step 3, for the unknown prime factors of . (In [2 Corollary 6] the hypothesis is stated for the prime factors of ; it should be stated for every prime , or for the prime factors of , as H. R. Thackeray has confirmed. For a friend of 10 and the three readings coincide, since the prime factors of are those of together with .) Besides Theorem Z and Lemma 2.2 (Steps 0 and 2), the proof uses only that the exponents are even (Step 1) and that is odd. Of the node it uses only , , the fixed exponents and the upper bounds ; it does not use the lower bound , the constraint or any index bound, so the bound holds at every node and for every choice of the . The bound holds for every but the program uses it only for , because computing costs time proportional to . For larger the rule is not applied. The bound is also tested against true values during the computation (§ 10).
Block 7: almost tight nodes
Throughout this section, is a node with and at which the listing (R8) would otherwise be used.
Two thresholds
Definition 5.1.
Both sets are defined through the functions and , which are strictly decreasing for real and tend to 1 (Lemma 2.1(iv)). Hence the left-hand sides and decrease to , so both sets are bounded. They are non-empty, because gives , so that and . Finally, since the left-hand sides decrease, the defining inequality holds for every and every .
Lemma 5.2. , and .
Proof. means , that is , that is . For the second claim, (Lemma 2.1(iv)), so implies , hence .
Since and differ only by terms of order , the gap is tiny; in the census of it was empty at every node.
The split
Definition 5.3 (Constraint “hi”). The constraint , for an integer , means: the smallest unknown prime satisfies .
Rule 5.4 (Split). Replace by the following children:
(a) with the added constraint ;
(b) for each prime , , the child of (R8) in which ;
(c) with replaced by .
Soundness. Let belong to . Its smallest unknown lies in exactly one of , and . In the first case belongs to (a). In the second it belongs to the child (b) with . In the third case every unknown exceeds , so every prime of that is smaller or equal to is known: the invariant holds with and belongs to (c). The argument uses no property of and other than , so floating-point errors in computing them could only affect efficiency; the program nevertheless checks both thresholds exactly.
A node that already carries a constraint. If already carries (alone, or as part of a saturation constraint, Definition 6.4), every child of the split keeps it: (b) is listed only over , child (c) is omitted when , and the split is not applied at all when . Intersecting each child with still covers every friend of , since every such friend satisfies .
The hi rule
The point of child (a) is that the constraint gives a lower bound on the factor of , which kills the child without listing .
Lemma 5.5 (Hi rule). Let carry the constraint .
(i) Every friend belonging to satisfies , with strict inequality if . Hence is empty if , or if and , or if .
(ii) Suppose a rule pins a set of unknown primes. If no prime of is smaller or equal to , the child may keep the constraint . If moreover contains all unknowns, the child is empty.
Proof. (i) Let belong to . Since and , Lemma 2.1(iii) and (iv) give . By (5),
and the last product is if and if . If then contradicts the invariant. (ii) The smallest unknown satisfies . If no pinned prime is smaller or equal to , then , so is still unknown in the child and is the smallest of the remaining unknowns; the constraint holds. If contains all the unknowns, then and , a contradiction.
In child (a), and, by definition of , . The certifier treats as an extra factor: it branches the free exponents (R7) and, in each tail, grows. Because , there is room for to exceed , at which point Lemma 5.5(i) kills the node; exact children are treated by the closure. The range , which contains almost all of the millions of candidates for , is thus never listed.
Branch (c) with two unknowns
Lemma 5.6. Let and suppose every unknown exceeds . Write in lowest terms. Then
Proof. The bound on is Lemma 3.5(b) with , , using part (a). Since , the definition of gives , that is . Put . By Lemma 3.5(a), , that is . Now
is a fraction with denominator , so by Lemma 2.6. Finally means , that is .
The program uses the weaker bound . So in branch (c) with every unknown is bounded, and Proposition 4.1 bounds the exponent of every free prime of .
Narrowing
Lemma 5.7 (Narrowing). Let , and suppose the closure (R3) of the fixed exponents produced no pin and at least one unfactored cofactor . Then both unknown primes divide ; in particular .
Proof. By Lemma 6.10 below, has at least two distinct prime factors, all of them unknown primes of . There are only two unknown primes, so they are exactly those factors.
The listing (R8) then runs only over the prime factors of below the stop, found by trial division, instead of over every prime.
The safe chain and the band
Lemma 5.8 (Safe chain). Let and define by
If , then every unknown prime of every friend belonging to the node is .
Proof. All unknowns exceed , so by Lemma 2.1(iv) each of has . Lemma 3.5(a) gives , hence , that is . The other unknowns are smaller than .
Let be the least for which ; it is about . Branch (c) is cut into two sound children: “” (constraint ) and “every unknown exceeds ” (). In the second, Lemma 5.8 bounds every unknown and Proposition 4.1 applies. What remains to be listed is the band
where the index alone does not bound . At a band holds between and primes.
Block 8: the band
Throughout this section, is a node with unknowns (from § 6.3 on, ) and . The only exception is the lower lift (Rule 6.1), which the program applies at every node with ; its proof uses neither restriction.
The lower lift
Rule 6.1 (Lower lift). Let be the largest integer with if (resp. if ), or if there is none. Replace by .
Soundness. Let belong to . As in the proof of Lemma 5.5(i), , so if and if . If some unknown prime were , then , and since decreases, , which is at least (resp. strictly greater than $9/5): a contradiction. So every unknown exceeds , every prime of that is at most is known, and the invariant holds with the new value. □
Deepening
Let , so that by Lemma 3.5(b) (if the node carries with , the program uses instead, which is also an upper bound for ; everything below holds with either value), let be the number of free primes in , and . Before the region step, the certifier applies exponent branching (R7) to the free prime with the largest ratio until every free prime satisfies
Each step is an instance of (R7), so this is sound whatever is. Its effect is that and agree to within a relative error of order , which is what makes the test of § 6.5 effective.
The saturation dichotomy
For each choose a number ; the program takes when , and otherwise (so for a free prime without an upper bound, and for a free prime with an upper bound far from ). Put
The purpose of is to keep the denominator small; replacing by the simple fraction removes the huge denominators of exact values with large . If the region step below is not used. Otherwise .
Definition 6.2 (The two regions). A friend belonging to is saturated if
and unsaturated otherwise. In words: the smallest unknown primes, at their largest possible contributions, already reach , so the largest unknown may be arbitrarily large.
Lemma 6.3 (Bounds in the unsaturated region). Define and, for ,
Every unsaturated friend belonging to satisfies for .
Proof. Fix an unsaturated friend. First, by Lemma 3.5(b). We show, for ,
since the right-hand side increases with , induction on then gives .
Step 1: a ratio larger than one. Put
Each factor exceeds 1, so (the friend is unsaturated). Hence .
Step 2: how much larger. Since ,
a fraction larger than 1 with denominator . By Lemma 2.6, .
Step 3: the remaining unknowns. By Lemma 3.5(a) and ,
The integers and , which satisfies , meet the hypotheses of Lemma 3.5(b) with . Therefore
which is (8). □
The region step
Definition 6.4 (Saturation constraint). For an integer , an integer and a rational , the constraint means:
It is used only when . Whenever a rule pins an unknown prime (so that the set of unknowns changes), the child drops the second part of the constraint, which is about the
unknowns of the parent; the first part, , is kept as long as no pinned prime is smaller or equal to (Lemma 5.5(ii)). Rules that pin nothing (exponent branching, deepening, the split of Rule 5.4, narrowing) pass the constraint on unchanged to every child; the split and narrowing list their children by Rule 6.6 below. Dropping a constraint, or a part of it, enlarges the set of friends belonging to a node, so it is always sound.
Rule 6.5 (Region step). Let be a free prime with , and let be the bound of Proposition 4.1 computed with the bounds of Lemma 6.3. Replace by:
the children with fixed to each admissible even value in ;
one tail child with raised to the least admissible value strictly above , carrying the constraint , where
Soundness. The children partition the possible values of , so it suffices to show that every friend with satisfies the constraint. Such a friend cannot be unsaturated: if it were, then for all by Lemma 6.3, and Proposition 4.1 would give . So it is saturated: . Moreover, and , so and
which, being decreasing, means . Also . So . The number is a fixed rational, so the constraint stays true in every descendant with the same unknown primes. □
Listing under saturation
Let carry the constraint with . Its smallest unknown is listed, for the primes , . For each put
Dividing the constraint by gives, for every friend in the child ,
A prime with is skipped, because its child is empty: by Lemma 3.2, , since and . If the child gets no constraint (nothing is claimed). Otherwise:
Rule 6.6 (Saturated listing). Assume .
(i) If , let . If the child is empty; otherwise it carries the constraint .
(ii) If (that is, ), let
If , or if
the child is empty. Otherwise it carries the constraint (Lemma 5.5).
Soundness. (i) In the child, the constrained unknowns are , which are integers. As in the proof of Rule 6.5, , so . Since , the case is impossible. The new constraint is exactly (9) together with , where is now the smallest unknown and .
(ii) Here (9) reads . Since ,
so , and is impossible as before. Now use (5) with the three unknowns , , and bound each factor from below: , , (Lemma 2.1), and . This gives
So if (6.3) holds, no friend belongs to the child. The remaining constraint is a hi constraint for the child, whose smallest unknown is . □
Lemma 6.7 (Integer form of the test). Write and with positive integers, and put . Then if and only if ; in that case
and (6.3) holds if and only if
Proof. , so , which is positive if and only if , and then . For the test, , so (6.3) reads ; multiply by the positive number . □
Remark 6.8 (Why almost every dies). To first order, with exponents 2, the constraint asks (with ), while (5) asks , and after deepening and agree to within . So is squeezed into a window whose width is of the order of the third-order terms; (6.3) checks whether that window still contains an integer, and it almost never does. By Lemma 6.7 each test costs a few integer multiplications. In the certification run for , candidates were discarded in this way.
Counting unfactored cofactors
Definition 6.9 (Unfactored cofactor). When the closure (R3) factors a piece of , it removes the primes below , the primes of and the primes pinned so far. If the remaining part is composite, is not a prime power, and is too large to factor within the budget, is called an unfactored cofactor.
Lemma 6.10. An unfactored cofactor has at least two distinct prime factors, and each of them is an unknown prime of (an element of ).
Proof. A composite integer that is not a prime power has at least two distinct prime factors. Each prime factor of divides , so it lies in (Lemma 2.2); it is not 3 and not in , since those primes were removed from . □
Rule 6.11 (Coprime cofactors). Let be the unfactored cofactors produced at a node, let be the product of all primes pinned at that node, and let be a family of cofactors that are pairwise coprime and each coprime to . If
the node is empty.
Soundness. For a friend belonging to the node, the pins are distinct unknown primes. By Lemma 6.10, each contributes at least two distinct unknown primes; they are not pins (), and two different members of share none (they are coprime). So has at least distinct unknown primes, but it has exactly .
The program applies the rule to a whole node (step 1 of the partition) and also, in the budget cases (R4), to the pins and cofactors of each single assignment of the budget. The proof is the same in both cases: only the pins and the cofactors of the set under consideration are used.
Lemma 6.12 (Tight family). If no prime was pinned and , then every unknown prime divides , and each has exactly two distinct prime factors.
Proof. By the proof of Rule 6.11, the members of contain at least distinct unknown primes. There are exactly unknowns, so these are all of them, and no member can have a third distinct prime factor.
Lemma 6.12 extends narrowing (Lemma 5.7, which is the case , ) to : the smallest unknown is searched only among the prime factors of below the index stop.
A correction to the closure rule
The closure of [7], and our port of it, discarded a node when , where is twice the largest number of unfactored cofactors coming from a single known prime. A cofactor is stripped of the primes pinned before it is computed, but a prime pinned later, from the closure of another fixed exponent, may divide it. Its two “further” unknown primes then include that pin, and the count is too large.
Proposition 7.1. The rule above is unsound. Let , so that is prime, and let , so that with prime. With a factoring budget below 52 bits and the fixed exponents processed in the order , the node with , and is discarded, although the two unknown primes needed, and , fit into .*
Proof. Processing first, (of 52 bits) cannot be factored within the budget and becomes an unfactored cofactor: . Processing next pins . The rule counts . But the cofactor is divisible by the pin , so only one further unknown prime is needed.
A planted target with this structure (§ 10) was indeed lost by the earlier program. The corrected rule is Rule 6.11 applied to the cofactors of each single prime, with the product of all pins of the node. Its premise holds: the cofactors of one prime come from different pieces and , which by Lemma 2.3 share only primes dividing ; these are below (in our runs is enforced) and were removed, so the cofactors are pairwise coprime. The same correction is made in the budget cases (R4). With the real budget of 160 bits the faulty situation needs a coincidence between two unrelated cyclotomic values. The node counts for are identical before and after the correction, and for the corrected program again produces exactly 36,554,260 nodes, the count of the original run; so the gap did not affect any of the runs for .
The computation
The long runs were made with PARI/GP 2.17.2 on a 12-thread machine with ECC memory; the tests of § 10 and the smaller timings of § 9 with PARI/GP 2.15.4 on a 2-thread machine (the searches for and ran on the 12-thread machine). The program is core/omega_k.gp with the driver experiments/certify_omega_k.gp. The top of the tree is cut into tasks that are run in parallel; a task exceeding a time limit is abandoned and expanded into smaller tasks, and every node is counted once. A run is accepted only if no task is pending or failed, no node is refused and no friend is found.
| nodes | remarks | |
| 1–7 | 1, 1, 3, 5, 7, 55, 459 | |
| 8 | 26,222 | |
| 9 | 36,554,260 | 1 h 28 min on 12 threads (Block 7 only) |
| 10 | 157,210,962 | 11 h 23 min on 12 threads, 15 rounds (Blocks 7 and 8) |
Table 1 (PDF p. 16). Size of the certified trees.
For the settings are: cofactors up to 160 bits are factored; is evaluated for and at most 4000 bits; the exponent bound is used for known primes below ; Block 8 is applied to bands of more than 1000 primes. Before the certification run, a census run with the same rules (which records, instead of listing, any node whose listing exceeds primes) finished in 8 h 49 min on 12 threads with 149,823,612 nodes, no refusal and four recorded nodes, all with , , and a band of 16,690 primes. These four nodes were then run separately and closed in 45 to 106 minutes each (1.0 to 4.1 million nodes, discarded primes each). The certification run itself (same settings, with the primality policy of § 8.1) finished after 15 rounds and 40,988 s with 157,210,962 nodes, no pending or failed task, no refused node and no friend; primes were discarded by the arithmetic test of Rule 6.6 and listings were narrowed to the prime factors of cofactors. Rounds 9–14 each split the same few tasks again; they are pieces of the four heavy nodes above.
Primality
A composite cofactor wrongly declared prime would create a false pin, so primality matters in one direction. Factorisations and multiplicative orders use proven primes. A cofactor of at most 400 bits is proved prime; a larger one is accepted if it passes the Baillie–PSW test and 20 rounds of Miller–Rabin with random bases, and is written to a list, to be proved separately. For the list has 436 primes, and all of them are proved: 432 by the APRCL test (isprime), and the four largest (of about 5230, 6684, 7283 and 17512 bits; two of them are and , which are beyond the practical range of APRCL, by the ECPP implementation of PARI/GP (primecert). The four ECPP certificates were checked with primecertisvalid and are distributed with the code, so they can be re-checked independently. For the list has 4,328 primes of 401 to 3,596 bits, and all 4,328 are proved by the APRCL test. Thus the runs for rest on no unproved primality claim.
Implementation notes
(i) In the “last unknown” rule (R5), a prime of tens of millions makes a number of nearly bits. For such the solutions are found by scanning the primes of the (short) admissible interval and computing modulo powers of , with the size comparison . (ii) The time limit of a task is tested between nodes and, inside a saturated listing, every 8192 listed primes. The partial results of an abandoned task are discarded and the task is expanded again from its nodes, so where the limit is tested does not affect soundness. (iii) Narrowing needs every prime factor of a cofactor below the index stop . These are found with PARI’s factor(c,D), which returns all prime factors of below (we checked this against trial division, also for ).
A lower bound for the least friend
The bounded search
The project [7] contains an exhaustive bounded search. For a bound and a number of distinct primes, it enumerates the sets of primes with and , and for each set the exponent vectors (even, ) with (the cyclotomic closure is not used in this search); it prunes with exact index bounds as in § 3, and tests every remaining vector, called a signature, against . Since every exponent is at least 2, a friend satisfies , so only finitely many can occur below . Starting that search at (Thackeray’s bound), [7] reports that the least friend of 10 exceeds .
Theorem 1.1 alone gives only . But the case is by far the largest part of the bounded search, and without it the search reaches much further.
Corollary 9.1. A friend of 10 is larger than .
Proof. Let be a friend of 10 and . By Theorem 1.1, .
Large . The product of the 15 smallest primes greater or equal to 5 is approximately . Since every exponent of is at least 2 and its primes are at least the smallest primes greater or equal to 5, a friend with is larger than .
. The bounded search for finds no friend for . It visits 9,632,870,504, 17,633,755, 338 and 5 nodes and tests 9,843,884,172, 10,534,449, 0 and 0 signatures respectively, 9,854,418,621 signatures in all, in 36,520 s on 12 threads (36,439 s of it at ). (For the search is needed: .) □
| signatures tested, | time | |
| 3,633 | 0.2 s | |
| 139,674 | 2.7 s | |
| 2,312,042 | 35 s | |
| 25,035,001 | 304 s | |
| 1,544,940,705 | 6,147 s | |
| 9,854,418,621 | 36,520 s |
Table 2. Bounded search above .
Verification, and what the results rest on
The following checks are verified during the computation to ensure a wrong rule never eliminates a node that could have contained a valid friend.
Bound tests for the exponent bound of Proposition 4.1. Every integer satisfies for its own , and the bound and its proof hold for such a target, with the primes of the numerator of in place of 3. So for an arbitrary with even exponents, a prime , an arbitrary split of the other primes of into known (fixed, free, or free with an upper bound) and unknown ones, and , the program must return . This holds in all of about 58,000 random instances: 28,192 with several open terms, 28,236 with a single open term, and 1,170 with unknowns of very different Wieferich levels, which test the separate bounds . In more than a quarter of them the bound is attained (), so the test is not trivially satisfied. Of twelve deliberately wrong variants of the bound, nine are detected by this test; the other three each remove one unknown prime from the count in Step 2 of the proof, an error that the slack of the unknown’s own term hides, and they are not detected by it.
Planted targets. For a number of the right shape, the program is run with the target in place of and a target-independent subset of the rules; it must find exactly once. This is done for targets with three and four unknown primes in and above the band, with free exponents, at nodes carrying a saturation constraint, and for the configurations of § 5–§ 7.
Lemma checks against brute force or an independent computation (43 checks for Block 8, 45 for the earlier blocks).
Mutation tests. 21 deliberately unsound edits of Block 8 and of the corrected closure are all detected; 7 of them only by lemma checks, since no planted target reaches the tail of a region step (it would need an exponent beyond the bound of Rule 6.5, hence an unfactorable target).
Adversarial review. Five separate reviews were carried out by fresh instances of an AI system, each given the code and this paper and asked to find a configuration that a rule discards although it contains a solution: Block 7, Block 8, the closure and cofactor rules with the correction of § 7, the bounded search of § 9, and arithmetic exactness together with the handling of tasks, checkpoints and errors. They found no soundness error. They found a number of places where the text did not describe the program exactly, all corrected in this version, and they added differential tests: the saturated listing, the deepening and the lower lift against reference implementations written from the statements here (several thousand random cases), planted targets on the boundaries of the constraints, brute-force checks of step 1 of the partition and of the budget cases on 729 and 472 random configurations, and 1,560 comparisons of the bounded search with an independent brute force. That brute force alone also settles and for .
Code availability
The complete PARI/GP source of the certifier and of the bounded search, the test suites (planted targets, lemma checks and mutation tests), the notes containing the proofs of Blocks 7 and 8, and the ECPP certificates of § 8.1 are available as a single archive at
http://elliptic.group/files/solitary10-gp.tar.bz2
with SHA-256 checksum
3b6e24d0ad87ad304a9bec8afad30480143d536dd27b2bb2220329d1cdf30701
The README.md file in the archive gives the exact commands for every run reported in § 8–§ 9.
Use of an AI system
The PARI/GP port, Blocks 7 and 8, their proofs, the tests and this paper were produced with the help of an AI system in an extended collaboration with the author.
Acknowledgements
This work builds directly on the solitary10 project of Caio Comitre Rossi and on the results of Ward and Thackeray. We thank H. R. Thackeray for correspondence about this work and in particular for confirming the correction to the hypothesis of Corollary 6 of [2] discussed after Proposition 4.1.
Email address: [email protected]
References
- [1]J. Ward, Does ten have a friend? Int. J. Math. Comput. Sci. 3 (2008), 153–158; arXiv:0806.1001.arxiv.org/abs/0806.1001
- [2]H. (M.) R. Thackeray, Each friend of 10 has at least 10 nonidentical prime factors, Indag. Math. 35 (2024), no. 3, 595–607; arXiv:2310.15900.arxiv.org/abs/2310.15900
- [3]T. Chatterjee, S. Mandal and S. Mandal, A note on necessary conditions for a friend of 10, arXiv:2404.00624.
- [4]T. Chatterjee, S. Mandal and S. Mandal, On characterizing potential friends of 20, arXiv:2409.04451.
- [5]S. Mandal, Prime divisors of 10’s friends: a generalization of prior bounds, arXiv:2412.02701.
- [6]S. Mandal, Exploring the relationships between the divisors of friends of 10, arXiv:2504.08295.
- [7]C. Comitre Rossi, solitary10, software, https://github.com/caioross/solitary10, commit f4ac551.
- [8]K. Zsigmondy, Zur Theorie der Potenzreste, Monatsh. Math. Phys. 3 (1892), 265–284.DOI