Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Claim. Put . Let be the number of iterations of
needed to reach a prime from , with for a prime , and for a
prime let be the set of positive integers that reach after zero
or more iterations of . The five-page notes Notes on Erdős Problem #409:
the forest structure of , dated 22 July 2026 (the
preprint link, pinned to the commit of 2026-07-22 that uploaded it), state
three results on the problem's questions.
First, for every (Theorem 1(vii)). The notes derive it from for composite , whose least prime factor is at most : then , at most composite iterates lie in , and summing over dyadic ranges gives .
Second, every basin of a prime is finite and was computed
exactly (Section 4): trees, none truncated at caps of
nodes and values. The search lists, from upward, the solutions
of at the root and at every odd node ; an even number at
least is not a value of , so even nodes are leaves. The
inverse-totient solver is reported validated against brute force for every
value up to , using , and the search is the
repository's basins.py. Among the results, , ,
,
and ; has
elements, height and largest element , and has
elements, height and largest element . The largest basin found is
, with elements, and the tallest is , of height
.
Third, let be a prime with (Theorem 2). Then the solutions of are and the numbers and with a prime, , and . If has no such form, then , since is even and at least and so is not a value of . The primes for which has that form number at most , so for all but a proportion tending to zero of the primes , exactly two positive integers reach and the set of those that do has density zero. The proof writes with odd and uses , which must equal since . The notes check the characterization on the primes with : have the basin , and the exceptions are the primes the characterization predicts.
The forum comment (the discussion link) states the third result, with the
count , and the second; the first is in the notes only.
Submission note. Posted to the erdosproblems.com forum by the account ankit on 22 July 2026:
Two observations bearing on the finiteness conjecture recorded above (that only finitely many integers reach any fixed prime), plus exhaustive data.
For 100% of primes , exactly two integers ever reach , namely and . Sketch: if , write with odd; then $v_2(\varphi(n)) = \max(b-1,0) + \sum_{q \mid m} v_2(q-1) = 1$ forces (for ) either or with prime, , . Since is odd for , no even number has a preimage, so is terminal. Hence unless is solvable, the full basin of is ; and the number of exceptional is , which is . This proves the conjectured finiteness (and density zero) for a full-density subfamily of primes . Computationally: of the 1632 primes with , exactly 1620 have basin , and the 12 exceptions are precisely ${7, 19, 43, 163, 487, 1459, 4423, 6163, 14407, 19183, 22651, 26407}$, matching the characterization.
Exhaustive data: for every prime the full basin is finite and computed exactly (largest: 5557 elements at ; tallest tree: height 20 at ). Over all , , attained at , with decade records for , consistent with , and complementing the constructed examples posted elsewhere in this thread.
Two cautions on the conjecture. (a) Dickson's conjecture implies is unbounded: for each , the forms () and form an admissible system, and their simultaneous primality gives exactly, via (verified witnesses through ). (b) Empirically, tree growth is a multitype branching process in the type (type-1 nodes are sterile by observation 1), and the measured mean-offspring matrix has Perron root to across scales to : marginally supercritical. If the finiteness conjecture holds, it holds near criticality; the alternative reading is that infinite basins exist but are rare.
Full notes with proofs, the exact basin certificates, and verification code: https://github.com/ak56ankit/erdos-409-notes/blob/main/erdos409.pdf . Disclosure per forum rules: this work was done with substantial AI assistance (Claude, Anthropic); I have independently verified the proofs by hand and reproduced all computations myself.
Covers. The three questions of Problem 409, each in part. For the first, how many iterations are needed, the explicit bound , against the trivial that the problem page records; it gives no lower bound and does not determine the order of growth. For the second and third, every prime below , and every prime with for which is not with a prime, and , which are all but of the primes up to : only finitely many reach each such prime, and the density of those that do is zero. The primes above that are or exceptional are not addressed, and the notes list the second and third questions in full, whether any basin is infinite, as still open.
Claimant and assistance. The notes' byline prints the author as Ankit.
They were uploaded on 22 July 2026 to the GitHub repository
ak56ankit/erdos-409-notes, with their TeX source, a Markdown version and the
code for the computations (the inverse-totient solver e409.py, the basin
search basins.py and the checking script verify.py), and were linked the
same day from a comment in the problem's erdosproblems.com forum thread by the
account ankit. The notes' footnote says that they were prepared with
substantial AI assistance (Claude, Anthropic), that every numerical claim was
machine-verified with the accompanying code, and that the author verified all
proofs by hand and reproduced all computations; the comment repeats the
disclosure. The notes call their theorems elementary and possibly folklore,
call the ingredients of Theorem 2 classical, and make no priority claim beyond
the results being apparently unrecorded for this problem. The comment and the
notes also report the maximum iterations over , that Dickson's
prime -tuples conjecture would make the number of iterations unbounded,
and a Perron root measured for a branching model of the inverse trees; these
are outside this claim.
Relation to other claims. Wouter van Doorn's comment of the same day in the same thread (its claim page) gives without a constant, from the same inequality for composite ; the notes do not mention it. Plasma AI's later research page on the small prime basins, author-recorded and without independent review, gives for and the same five basins of , by its own argument; they are pending on its claim page. Plasma AI's claim page on two-element basins records the basin for almost every prime, in every residue class, from Theorem 4.1 of Banks, Ford, Luca, Pappalardi and Shparlinski (2005), with at most exceptional primes up to . That theorem covers all residue classes with a weaker exception count; the third result here treats only the primes , with exceptions and an explicit description of them. Both end with the same step: is even and at least , so it is not a value of .
Depends on. No page of this wiki.
Standing. Claimed. The results are posted in a forum comment and in notes and code in a public repository; they have no refereed publication and no Lean proof, and the erdosproblems.com page, last edited 20 December 2025, mentions none of them. Plasma AI rederived the argument of Theorem 2, author-recorded and without independent review, and found it correct as stated; that check is coverage, not acceptance. The notes' proof of the bound and the basin computations were not checked here.