Orbit sets of affine maps: Klarner–Rado sets and their density
Sets of integers generated from a seed by maps like 2x, 3x+2, 6x+3. Counting gives zero density when the reciprocal slopes sum to less than 1; the balanced case 1/2+1/3+1/6=1 is the hard one.
On this page15 sections
A test bed for density questions about semigroup orbits, linking counting arguments, free semigroups, covering systems and invariant measures; it sits beside the 3x+1 problem in the Erdős–Klarner–Lagarias circle of questions.
Sets of whole numbers built by repeating a few rules like double, or triple and add two; do they fill a fixed share?
- 1Two or three rules generate a set of numbers
- 2Does the set fill a fixed share?
- 3Counting settles it unless slopes balance
- 4Preprint: turn density into measures on a group
- 5Claims no measure exists, so density 0
Setup. An affine map is a rule with whole numbers and . Pick a few of them and a starting number (the seed), and let be the smallest set containing the seed and closed under all the rules. In Python: keep a stack, pop , push , and if not seen yet and below a limit . Count the members below .
Density. The natural density of a set is the limit of as , if it exists; the lower density uses the smallest long-run value (a , the least value that the ratio keeps coming back to). The question is whether the density is or positive.
When counting settles it. Each member of is built by a word in the maps. If the slopes satisfy , then words of a given size produce few enough numbers that the set has density , a counting argument going back to Erdős and to Klarner and Rado. If equal slopes are used, special methods apply. The delicate case is , balanced, such as slopes with . In that case, if all the words give different numbers (the semigroup is free), the number of words of a given weight is about the same as the count of integers, and one cannot tell from counting whether the words overlap enough to thin the set. If the maps form an exact covering system (every integer is hit exactly once by the images), the set has positive density, and it was proved in 2025 (Shamazov and Talambutsa) that this happens. For free balanced semigroups only a sublinear lower bound of order was known.
The 2026 method. To work with one passes to a compact group in which the maps still act: the profinite integers (every number is described by all its remainders mod powers of 2 and 3). A Banach limit is a way of averaging a bounded sequence that is shift invariant; applying one to the indicator of turns positive lower density into a nonzero measure on . The balance condition makes that measure stationary, , and positive density makes it bounded by the Haar measure. The preprint then proves that no such measure exists, using counts of words with good divisibility and the orbits of a few rational points, such as .
Status. Kalmynin's preprint (17 Nov 2026) claims density for six triples and a criterion for an infinite family. A Lean development for one seed also claims it. DARC has checked none of it, and the question is listed as open.
Go deeper
The full technical text.
Sets generated by affine maps
Fix integer maps with slopes , and a starting set (a seed). The orbit set is the smallest set of integers that contains and is closed under every ; equivalently, all values of finite compositions of the maps applied to elements of . These are the Klarner–Rado sets, named after the 1974 paper of Klarner and Rado on the arithmetic of such recursively defined sets. The basic question is how many elements the set has below , and in particular whether it has positive (asymptotic) density.
Counting bounds and the balanced case
If , classical counting arguments (Erdős, and Klarner and Rado) give sublinear bounds, so the density is . If the maps have equal slope , that is , Klarner (1981) treated that case, and Konyagin, Protasov and Talambutsa (2025) treat the equal-slope case by refinement equations and Fourier analysis on . The hard regime is the balanced case with mixed slopes, where counting arguments stop short of a decision.
The standard example has slopes () and maps . Klarner (1982) identified triples of translations for slopes that generate free semigroups, meaning that different compositions of the maps give different functions. Klarner's question, publicised by Guy, asks whether the set generated from the seed (OEIS A005658: 1, 2, 4, 5, 8, 9, 10, 14, ...) has positive lower density. The seed matters: the same maps started from give a different set (), and the Erdős-problems form of the question that a 2026 Lean formalization used starts from (a mismatch reported in a GitHub issue on that formalization).
What was known
- Erdős proved an upper bound for the counting function, with an exponent fixed by the slopes; Lagarias extended it to orbit multisets and real affine maps.
- Shamazov and Talambutsa (arXiv 2025, revised 2026) proved a lower bound for orbit multisets, a sublinear lower bound for the orbit set when the maps form a basis of a free semigroup with (of the form for maps, as quoted in the 2026 preprint below), and a linear lower bound, hence positive density, when the maps form an exact covering system of the integers.
- For the example, neither a proof of positive density nor a proof of density was in the literature DARC found before September 2026.
2026 claims
A Lean 4 development by a single contributor, produced with OpenAI Codex and ChatGPT Astra by its own README and merged into the Formal Conjectures repository in October 2026, claims that the seed- set has natural density zero. On 17 November 2026 Kalmynin posted an unrefereed preprint claiming density for this set and five further triples, by showing that no nonzero stationary measure with bounded density exists on the profinite group , plus a criterion covering an infinite family of mixed-slope semigroups. DARC has checked neither, and the question stays open here until a refereed or independently verified proof exists.
What is not known
Whether the density is for balanced mixed-slope semigroups in general, how fast the counting function grows for the sets (a power saving is not claimed in the sources DARC read), and whether positive density can occur outside exact covering systems.
Words on this page (11)
- natural density
- The limit of (how many members a set has up to N) divided by N; the share of the whole numbers the set occupies.
- lower density
- Like density, but using the smallest long-run value of that share; positive lower density means the set never thins out to nothing.
- affine map
- A rule x → ax + b: multiply by a, then add b.
- semigroup
- A set of things that can be combined by an associative rule; here, the maps combined by doing one after another.
- free semigroup
- A semigroup in which different strings of generators always give different results; no accidental coincidences.
- balanced maps
- Affine maps whose slopes a satisfy 1/a1 + 1/a2 + ... = 1; for 2, 3, 6 this is 1/2 + 1/3 + 1/6.
- exact covering system
- Residue classes that together hit every integer exactly once, such as the evens and the odds.
- profinite integers
- The integers seen through all remainders at once, a compact group on which one can measure sets of integers.
- Haar measure
- The natural way to assign sizes to pieces of a compact group so that shifting a piece does not change its size.
- Banach limit
- A way of assigning a limit to every bounded sequence, even ones that do not converge, in a shift-invariant manner.
- p-adic numbers
- A number system for a prime p in which a number is small if it is divisible by a high power of p.
New to this? Read first (4)
- Wikipedia: Natural densityThe definition of density used throughout, with the lower and upper versions.
- OEIS A005658The first terms of Klarner's set and a short program to generate them.
- Shamazov, Talambutsa: On orbit sets generated by semigroups of one-dimensional affine functionsRecent background on lower bounds for these sets, with the abstract in plain terms.
- Wikipedia: Collatz conjectureThe famous neighbouring problem about repeated simple arithmetic rules.
Understanding map
map of the whole wiki →What to read before Orbit sets of affine maps: Klarner–Rado sets and their density (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Then
- Density of Klarner's sequence generated by 2x, 3x+2, 6x+3Open problem · D50
Open problems & questions
Progress timeline
- Nov 17, 2026Kalmynin: density 0 for Klarner's sequences (preprint)source
Claims density 0 for the 2x, 3x+2, 6x+3 set and five other triples by ruling out bounded-density stationary measures on a profinite group. Unrefereed.
- Nov 17, 2026Kalmynin: density 0 for Klarner's sequences (preprint)Related to: Density of Klarner's sequence generated by 2x, 3x+2, 6x+3source
Claims density 0 for six triples including 2x, 3x+2, 6x+3, via stationary measures on a profinite group and invariant Banach limits. Unrefereed; several lemma proofs are compressed.
- Sep 20, 2026Lean proof of the seed-0 variant proposed to Formal ConjecturesRelated to: Density of Klarner's sequence generated by 2x, 3x+2, 6x+3source
A pull request, merged 7 Oct 2026, records an AI-assisted Lean 4 proof that the set generated from 0 has natural density zero. The repository's issue 6536 notes Klarner's own problem uses seed 1.
- Jul 9, 2025Shamazov and Talambutsa: lower bound for free balanced semigroupsRelated to: Density of Klarner's sequence generated by 2x, 3x+2, 6x+3source
A sublinear lower bound, and a linear one for exact covering systems; neither decides the 2, 3, 6 case.
- Jul 9, 2025Shamazov and Talambutsa: lower bounds for orbit setssource
Sublinear lower bound for free balanced semigroups and a linear lower bound for exact covering systems (v1 9 Jul 2025, v2 4 Feb 2026).
- Jan 1, 1982Klarner: free semigroups for slopes 2, 3, 6Related to: Density of Klarner's sequence generated by 2x, 3x+2, 6x+3source
Identifies six triples of translations that generate free semigroups, the setting of the question.
- Jan 1, 1982Klarner: free semigroups for slopes 2, 3, 6source
Klarner, J. Algebra 74 (1982), identifies six triples of translations for slopes 2, 3, 6 that generate free semigroups, as cited in the 2026 preprint.
- Jan 1, 1974Klarner and Rado: arithmetic of recursively defined setssource
Klarner and Rado, Pacific J. Math. 53 (1974), study the arithmetic of sets closed under affine maps; the date is the publication year, and the reference is as listed in the 2026 preprint.