WorksMathematics
Total-Collapse Primes of Polynomial Maps over : Eighteen Families and Two Related Sequences
Abstract
For a polynomial map and a nonempty set , a prime is a total-collapse prime for if every forward orbit in eventually enters ; when is -invariant and periodic, every directed cycle of on lies in . Extending Vasiga and Shallit's study of , we study polynomial families over : seven odd cubics (OEIS A401667), seven Chebyshev-Dickson squares (OEIS A401173; drafts A399326, A402659), three Hilbert class field and octic maps (OEIS A401959, A402158; draft A399684), and . Using dynatomic factorizations, Stickelberger's parity theorem, the dihedral group for , and Dickson's permutation criterion, we prove necessary conditions for total collapse in each family. Along the cubic ladder (OEIS A398745), whenever (, ), total collapse for requires prime and . We also study sums of -bit one-zero-block primes (OEIS A401666) and certify prime tables across all sequences.
Introduction and general lemmas
Functional graphs of low-degree polynomials over finite fields have been studied by Vasiga and Shallit [12] for and , by Silverman [10] in arithmetic dynamics, and by Konyagin et al. [6] for general cycle bounds. For the squaring map (mod ) with target , every nonzero element reaches if and only if is a power of , recovering together with the Fermat primes (A019434). Replacing by the squared Chebyshev–Dickson map (mod ) with singleton target yields a sparse prime sequence (A401173: 3, 5, 37, 59, 61, 109, 359, 5507, 2117573, ) constrained by 2-adic preimage trees and cubic Hilbert class field obstructions [13].
Throughout this paper, denotes a prime, denotes the Legendre symbol for odd , and denotes the monic Chebyshev–Dickson polynomial of the first kind defined by , with , , and [7]. For the indices used below,
and .
Definition 1. Let for a nonzero integer , let be a prime with , and let be nonempty. We say that is a total-collapse prime for if for every there exists an integer such that .
Lemma 2. Suppose and every element of is -periodic. Then is a total-collapse prime for if and only if every directed cycle of the functional graph is contained in . Equivalently, .
Proof. Every forward orbit in the finite set eventually enters a directed cycle. If all cycles lie in , then every orbit enters . Conversely, suppose there exists a cycle . If , points on never enter . If , invariance forces , a contradiction. Since every orbit reaches its cycle in at most steps and is invariant, the condition is equivalent to for all . □
Lemma 3. Let be maps, and set and . Then maps the periodic point set bijectively onto , preserving cycle lengths and satisfying . In particular, is the unique cycle of if and only if is the unique cycle of .
Proof. From and , the maps and send -periodic points to -periodic points and conversely. Restricted to and , the compositions and are bijections, so is a cycle-preserving bijection conjugating and . □
Proposition 4. For a singleton target , Definition 1 holds if and only if the functional graph of on is connected and its unique cycle contains . Allowing in Definition 1 gives an equivalent condition.
Proof. Taking in Definition 1 with shows that the forward orbit of returns to , so lies on some cycle . Any other cycle would be closed under and disjoint from , so its elements could never reach ; hence is the unique cycle and the functional graph is connected. The converse is immediate. Allowing does not admit any cycle disjoint from , so lies on every cycle and the same condition holds. □Japgolly
The eighteen polynomial families
We study the 18 pairs listed in Table 1, numbered as Families 00 through 17 to match the companion sequence cards and verification programs [14]. Here we set
| Family | Polynomial map | Target | Admissible | OEIS |
| 00 | all primes | A401173 | ||
| 01 | all primes | A401959 | ||
| 02 | all primes | A399326 (draft) | ||
| 03 | all primes | A399684 (draft) | ||
| 04 | all primes | A402659 (draft) | ||
| 05 | all primes | new | ||
| 06 | all primes | new | ||
| 07 | all primes | new | ||
| 08 | all primes | A402158 | ||
| 09 | all primes | new | ||
| 10 | all primes | new | ||
| 11 | A401667 | |||
| 12–17 | for | , | new |
Table 1. The 18 polynomial families and their target sets over .
For every family except Family 09, the target set is -invariant and consists of periodic points, so Lemma 2 applies: for ; for odd ; for ; and ; and for Families 01 and 08. For Family 09, Proposition 4 applies at .
Remark 5. For comparison, the degree-8 Chebyshev–Dickson square with target differs from both and and has collapsing primes 3, 5, 11, 13 below . The projective indexing behind the partition of Families 00–17 is summarized in § 6.
Necessary conditions for total collapse
The odd cubic ladder (Families 11–17)
Theorem 6. For every integer , the following polynomial identities hold in :
where (A001844). Viewing the quartic factor in (5) as a quadratic in , its discriminant factors as
Let be a prime with . Then:
If , then are fixed points of outside , so is not a total-collapse prime.
If , then the four roots form two 2-cycles outside , so is not a total-collapse prime.
Proof. Identities (3)–(5) hold by direct polynomial expansion. For part (1), would imply , impossible since and , while contradicts .
For part (2), is not a root of because , and is a root only if , that is, . A common root with occurs only if . Both divisibilities are excluded when . Since in , all four roots lie in and have exact period 2 outside .
Corollary 7. Among , the discriminant is an integer square only at (). For and every prime , the residues are fixed points outside , whereas at we have , sending onto in one step. Thus is the unique total-collapse prime for .
Hilbert class field barriers (Families 00, 01, 08)
Theorem 8. The following fixed-point obstructions hold:
(Family 00, A401173.) One has , where satisfies and . If , , and , then mod has a unique linear factor, giving a fixed point in , so *is not a total-collapse prime. At , .
(Family 01, A401959.) One has , where satisfies and . If and , there exists a fixed point in . At , .
(Family 08, A402158.) One has , where , , and the splitting field of is the Hilbert class field of with , as computed via Ramanujan class invariants by Berndt and Chan [1] and Konstantinou and Kontogeorgis [5]; see also Cox [2]. If and , the Frobenius automorphism at is a reflection in of cycle type , so mod has a unique root in . For this root differs from , preventing total collapse.
Proof. All factorizations and discriminants follow by direct calculation. By Stickelberger’s parity theorem [11], for any prime of a squarefree polynomial of degree , one has , where is the number of irreducible factors of mod . For and Legendre symbol , we get , forcing the degree partition and hence a unique root in .
In part (3), any odd prime inert in has Frobenius automorphism lying in the coset , which consists of the seven reflections. Every reflection of a regular heptagon fixes one vertex and swaps the remaining six in three pairs; by Dedekind’s theorem (for , since the polynomial index is ), mod factors with degree pattern , while is excluded directly since and whereas does not absorb .
Corollary 9. The imaginary quadratic fields of fundamental discriminants and have prime class numbers $3,3,$ and , respectively, and the Galois closures of , , and coincide with their Hilbert class fields [2]. Because the class group is cyclic of prime order in each case, an unramified prime splitting in keeps the class polynomial irreducible modulo if and only if is represented by a non-principal binary quadratic form of discriminant , while at the ramified primes each polynomial has roots in distinct from the target and $p is represented only by the principal form. Consequently:
For Family 00 (A401173) and , is the unique fixed point in if and only if for integers .
For Family 01 (A401959) and , is the unique fixed point in if and only if .
For Family 08 (A402158) and , is the unique fixed point in if and only if is represented by one of the non-principal forms , , or .
In addition, the substitution maps the roots of to the roots of .
Chebyshev–Dickson squares and permutation barriers
Theorem 10. The following preimage barriers hold:
(Families 02 and 06; draft A399326.) If satisfies , then holds only at , so the preimage basin of under and reduces to . Hence every odd prime in Families 02 and 06 satisfies .
(Families 00, 03, and 05; A401173, draft A399684.) If , so that , then implies , whence , while has no square or fourth-power root in . By induction along , the backward basin of equals of size , excluding .
Proof. Parts (1) and (2) follow from quadratic reciprocity and preimage inspection. In part (3), since is a bijection on fixing , the congruence has only the solution , while means , giving . When , is a quadratic nonresidue, so has no solution in , closing the preimage tree at .
Proposition 11. By Lemma 3, Family 00 (A401173) is equivalent to total collapse of to ; Family 03 (draft A399684) is equivalent to total collapse of to (requiring in particular that , of discriminant , have no root in for ); and Family 05 is equivalent to total collapse of to .
For Family 09, , and is fixed if and only if . For Family 10, and ; for odd , when and when , and is
the diagonal restriction of the coordinatewise square of the power-trace map .
Two related integer sequences (A398745 and A401666)
Least collapsing prime along the cubic ladder (A398745)
Definition 12. For each integer , let (A398745) denote the least prime with that is a total-collapse prime for with target , or if no such prime exists.
The condition prevents modular aliasing, since depends only on ; for instance, where collapses . The initial terms of A398745 for are
with (A000668), , , and .
Theorem 13 (Pell–Pythagorean obstruction). Suppose satisfies with , so that belongs to A001652 (()) and belongs to A001653 ((); cf. A002315 and A086383). Then for every prime :
The residues are fixed points of .
One has if and only if is prime and , in which case .
Consequently, every Pell level A001652 with admits at most finitely many total-collapse primes (, together with at most when is prime); in A398745, whenever is composite and whenever is prime.
Proof. By Theorem 6, yields the integer fixed points . Every prime factor of is at most , so . Moreover, . Since is odd, if is composite then its least prime factor is at most and its greatest prime factor is at most , so . If is prime, holds if and only if . Finally, gives and , whence .
Example 14. At (), . At (), has the 4-cycle , so . At () and (), is composite, giving unconditionally. At the prime hypotenuses () and (), direct evaluation exhibits cycles outside (such as (mod )), so . For the next three positive legs A001652, the hypotenuses , , and are composite, giving as well.
Conjecture 15. In A398745, for all A001652 with .
Sums of binary one-zero-block primes (A401666)
Definition 16. For each integer , let (A401666) denote the sum of all -bit primes of the form (A000668) or
namely the odd -bit prime terms of A100724 (whose binary expansion consists of a single circular run of 1s and at most one internal block of 0s; the single-zero case includes primes related to A014234).
The initial terms of A401666 for are
Proposition 17. For :
If is even and is even, then and , so every prime summand of for even has odd zero-block length .
If is odd, is odd, and is even, then and is composite.
Proof. Since (mod ), one has (mod ) for even and (mod ) for odd . Both congruences follow directly, while for .
Computational verification and prime tables
In the companion C verifier [14], exact membership of a candidate prime is decided in two stages after applying the algebraic filters of Section 3:
Certified rejection: Brent’s cycle-detection algorithm is run from deterministic starting residues with no step bound; exhibiting a directed cycle disjoint from () certifies that is not a total-collapse prime.
Certified acceptance: An exhaustive three-color traversal of all elements of verifies that every directed cycle meets (, which by Lemma 2 and Proposition 4 is equivalent to total collapse across all 18 families, including Family 09 where at the 2-cycle passes through ).
The open verification archive [14] provides standalone Julia programs for all symbolic identities and full-graph self-tests () together with the multi-threaded C verifier reproducing the scans. In Table 2, denotes the bound up to which every prime was tested in extended exact runs with no step cap, establishing completeness of the listed terms up to . By contrast, denotes a larger interval screened by bounded-step orbit probes ( to steps); above , completeness remains open because an unclosed long transient does not prove an extraneous cycle. All 223 entries in Table 2 with are certified by full-field three-color traversal of , and the eleventh term of Family 00 (A401173) is certified by exhaustive traversal of all sign classes using [13].
| Fam. | Known total-collapse primes | ||
| 00 | 3, 5, 37, 59, 61, 109, 359, 5507, 2117573, 503734381, 20900146669 | ||
| 01 | 3, 13, 137, 761, 2719, 150083 | ||
| 02 | 2, 13, 23, 83, 17929, 18121 | ||
| 03 | 3, 5, 13, 23, 41, 22381, 45503, 3852347, 1801981681 | ||
| 04 | 2, 3, 5, 31, 59, 61, 89, 2939, 4261, 11839, 14137859, 599999971 | ||
| 05 | 3, 5, 13, 17, 23, 47, 71, 89, 193, 313, 863, 1103, 1777, 107183, 84814153, 342037921 | ||
| 06 | 2, 11, 73, 1297, 6733, 7393, 658871, 1295447 | ||
| 07 | 2, 3, 5, 43, 421, 1429, 6257, 49279, 1580503, 24107329 | ||
| 08 | 3, 7, 17, 233, 1373, 1531, 5861, 27427, 52937, 125287 | ||
| 09 | 2, 3, 5, 7, 11, 13, 17, 37, 47, 79, 131, 167, 241, 257, 129401, 390209, 4926997, 6719077, 23734297 | ||
| 10 | 2, 3, 5, 7, 11, 23, 29, 31, 59, 181, 521, 1559, 2069, 5261, 6871, 9551, 19207, 1161371, 1574681, 1849721, 85268251 | ||
| 11 | 5, 7, 13, 19, 31, 47, 59, 73, 151, 331, 401, 1943069, 83584483, 158450797, 1554906533 | ||
| 12 | 7, 11, 17, 19, 29, 41, 53, 79, 191, 42979, 277829, 35718901 | ||
| 13 | 5, 7, 13, 23, 83, 97, 383, 14239193, 82411573 | ||
| 14 | 7, 17, 23, 37, 313, 8753, 72173, 2952797, 3516973, 8879231, 334677433 | ||
| 15 | 5, 11, 17, 31, 41, 109, 127, 199, 719, 2731, 26317, 307067, 617579, 4348559, 4838117, 30282823, 42166321, 62371087 | ||
| 16 | 5, 19, 23, 151, 1237, 11941, 761357, 6756377, 1105256599 | ||
| 17 | 5, 7, 19, 23, 31, 41, 53, 61, 277, 593, 809, 911, 1489, 2053, 4943, 6301, 17393, 229139, 324119, 1262783, 2055551, 228229363 |
Table 2. Known total-collapse primes across the 18 families.
Alongside exact total collapse, near-collapse primes occur where every element of outside the preimage basins of one or two short cycles reaches ; for example, in Family 00 at , two cycles of lengths 3 and 5 have combined basin size 282, so the target basin has density exceeding .
Question 18. Is any of the 18 prime sequences in Table 2 finite, or are all 18 infinite?
Among uniform random maps on a -element set with a distinguished fixed point, the proportion having no other cycles equals by Cayley’s tree formula (see Flajolet and Odlyzko [4]), and diverges, suggesting a doubly logarithmic heuristic for the prime count up to (cf. Rosser and Schoenfeld [9]). Because low-degree polynomials have structured dynatomic factorizations rather than uniform random behavior, this heuristic is not a proof; along the general cubic ladder , finiteness is proved unconditionally at every Pell level A001652 with (Corollary 7 and Theorem 13).
Projective indexing in PG(3, 2)
We record the projective combinatorics behind the indexing of Families 00–17. Identify the 15 points of PG(3, 2) with the nonzero 4-bit integers . Four-bit reversal stabilizes the central line setwise (, ), and the three Fano planes in PG(3, 2) containing are
cut out by , , and . The cyclic group acts freely by bit-rotations on , partitioning the 126 non-constant vectors into orbits distributed across Hamming weights as . Indexing the 7 odd cubics (, where and ) by the 7 points of PG(2, 2), the 7 Chebyshev–Dickson squares by its 7 lines, Families 01, 03, 08 by the 3 Fano planes through , and Family 10 by the ambient space gives the 18-family catalog.
Summary of OEIS sequences
Published sequences in the On-Line Encyclopedia of Integer Sequences [8] introduced by this investigation are A398745, A401173, A401666, A401667, A401959, and A402158; three further sequences are currently under editorial review as OEIS drafts A399326, A399684, and A402659. Existing OEIS sequences referenced in the proofs are A000668, A001652, A001653, A001844, A002315, A003215, A014234, A019434, A086383, and A100724.
References
- [1]B. C. Berndt and H. H. Chan, Ramanujan and the modular $j$-invariant, Canad. Math. Bull. 42 (1999), 427–440.DOI
- [2]D. A. Cox, Primes of the Form x² + ny², 2nd ed., Wiley, 2013.
- [3]L. E. Dickson, The analytic representation of substitutions on a power of a prime number of letters with a discussion of the linear group, Ann. of Math. 11 (1896), 65–120.
- [4]P. Flajolet and A. M. Odlyzko, Random mapping statistics, in Advances in Cryptology – EUROCRYPT ’89, Lecture Notes in Comput. Sci., Vol. 434, Springer, 1990, pp. 329–354.
- [5]E. Konstantinou and A. Kontogeorgis, Computing polynomials of the Ramanujan tₙ class invariants, Canad. Math. Bull. 52 (2009), 583–597.DOI
- [6]S. V. Konyagin, F. Luca, B. Mans, L. Mathieson, M. Sha, and I. E. Shparlinski, Functional graphs of polynomials over finite fields, J. Combin. Theory Ser. B 116 (2016), 87–122.arxiv.org/abs/1307.2718
- [7]R. Lidl and H. Niederreiter, Finite Fields, 2nd ed., Cambridge University Press, 1997.
- [8]OEIS Foundation Inc., The On-Line Encyclopedia of Integer Sequences, published electronically at https://oeis.org, 2026.
- [9]J. B. Rosser and L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64–94.
- [10]J. H. Silverman, The Arithmetic of Dynamical Systems, Graduate Texts in Mathematics, Vol. 241, Springer, 2007.DOI
- [11]L. Stickelberger, Über eine neue Eigenschaft der Diskriminanten algebraischer Zahlkörper, in Verhandlungen des Ersten Internationalen Mathematiker-Kongresses, Zürich, 1897, pp. 182–193.
- [12]T. Vasiga and J. Shallit, On the iteration of certain quadratic maps over GF(p), Discrete Math. 277 (2004), 219–240.DOI
- [13]I. M. Zhuk, Unital collapse primes in arithmetic dynamics: total backward-orbit collapse for T(x) = (x² − 2)² mod p, Galois stratification, and Fermat–totient asymptotics, Zenodo preprint, 2026, https://doi.org/10.5281/zenodo.23420627.
- [14]I. M. Zhuk, Total-collapse primes of polynomial maps over GF(p): verification suite and sequence cards, Zenodo archive, 2026, https://doi.org/10.5281/zenodo.23856837; code at https://github.com/Nondual-Observer/total-collapse-primes-oeis.