Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

The Square-Root-Rank LCM Law for Deeply Composite Numbers

Abstract

Deeply composite numbers contain the lcm prefix forced by their square-root rank.

Definition 1.1 (Rank counts deeply composite numbers not exceeding n).

Formalization. D5/S3/Arith/DeeplyCompositeLcmRank.rank (✓ std3).

Source. Repository-derived.

Commentary.

The rank of n counts the deeply composite integers not exceeding n. In displayed formulas, filter(S,P) denotes the elements of the finite set S satisfying P.

Theorem 1.2 (Rank counts deeply composite integers through n).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.rank_eq_card_filter_le (✓ std3). ∎

Source. Repository-derived.

Commentary.

Unfolding the definition, rank(n) is the number of deeply composite integers in the initial segment from zero through n. Every deeply composite integer is positive, so this is also the number in the closed interval from one through n.

Theorem 1.3 (Rank equals the positive-interval count through n).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.rank_eq_card_filter_Icc (✓ std3). ∎

Source. Repository-derived.

Commentary.

This theorem restates the rank count on the closed interval from one through n. Deeply composite integers are positive, so filtering that interval counts the same terms.

Definition 1.4 (The zero-indexed enumeration of deeply composite numbers).

Formalization. D5/S3/Arith/DeeplyCompositeLcmRank.a (✓ std3).

Source. Repository-derived.

Commentary.

The sequence a(r) is Nat.nth applied to DC, so r starts at zero. It supplies the sequence-level representation corresponding to OEIS A095848 (Switkay, comments 2023 and 2025).

Definition 1.5 (The least common multiple prefix).

Formalization. D5/S3/Arith/DeeplyCompositeLcmRank.L (✓ std3).

Source. Repository-derived.

Commentary.

L(k) is Nat.lcmUpto(k), the least common multiple of the positive integers through k, corresponding to OEIS A003418. The abbreviation keeps these lcm prefixes explicit in later divisibility arguments.

Definition 1.6 (Deeply composite records below an lcm prefix).

Formalization. D5/S3/Arith/DeeplyCompositeLcmRank.recordsBelowL (✓ std3).

Source. Repository-derived.

Commentary.

recordsBelowL(k) filters the half-open interval from one to L(k) by the condition DC, retaining exactly the deeply composite natural numbers.

Definition 1.7 (Deeply composite records in one lcm band).

Formalization. D5/S3/Arith/DeeplyCompositeLcmRank.recordBand (✓ std3).

Source. Repository-derived.

Commentary.

recordBand(k) filters the half-open interval from L(k) to L(k+1) by DC.

Theorem 1.8 (The next lcm prefix is bounded by endpoint multiplication).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.L_succ_le_mul (✓ std3). ∎

Source. Repository-derived.

Commentary.

The bound follows by expanding the next lcm prefix and using that a least common multiple divides the corresponding product.

Theorem 1.9 (Every reached lcm prefix divides a deeply composite number).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.prefix_locking (✓ std3). ∎

Source. Repository-derived.

Commentary.

If n is deeply composite and L(j) <= n, then L(j) divides n. Otherwise the first divisor through j missing from n makes the smaller number L(j) precede n, contradicting the record condition.

Theorem 1.10 (Few deeply composite records lie below an lcm prefix).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.counting_bound (✓ std3). ∎

Source. Repository-derived.

Commentary.

Below L(k), at most NatDiv(k*(k-1),2) deeply composite numbers occur. Here NatDiv is natural-number Euclidean division, not rational division. The proof partitions records into successive lcm bands and injects the k-th band into the positive integers below k+1. Summing the band bounds gives the stated triangular bound.

Theorem 1.11 (A deeply composite number has positive rank).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.rank_pos (✓ std3). ∎

Source. Repository-derived.

Commentary.

A deeply composite n belongs to its own filtered closed interval, so the cardinality defining rank(n) is positive.

Theorem 1.12 (The square-root-rank lcm divides every deeply composite number).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.deeply_composite_lcm_sqrt_rank (✓ std3). ∎

Source. Repository-derived.

Commentary.

For every deeply composite n, L(Nat.sqrt(2*rank(n))) divides n, where Nat.sqrt is the natural-number square root, hence floor(sqrt(-)). Prefix locking and the counting bound force this divisibility: failure would place n below the lcm prefix while making twice its rank simultaneously no larger and strictly larger than the same square. This proves the DC/rank specialization of Switkay’s A095848 comment of 2025-09-07.

Theorem 1.13 (Every enumerated term is deeply composite).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.dc_nth (✓ std3). ∎

Source. Repository-derived.

Commentary.

Infinitude of DC and Nat.nth membership show that every zero-indexed term a(r) satisfies DC.

Theorem 1.14 (Enumeration index and deeply composite rank agree).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.rank_nth (✓ std3). ∎

Source. Repository-derived.

Commentary.

The rank counts through its endpoint, while Nat.nth is zero-indexed, so rank(a(r)) equals r+1.

Theorem 1.15 (The square-root-rank lcm law for the enumerated sequence).

Proof. Machine-checked in Lean as D5/S3/Arith/DeeplyCompositeLcmRank.oeis_a095848_lcm_sqrt_rank (✓ std3). ∎

Source. Repository-derived.

Commentary.

Using DC(a(r)) and rank(a(r)) = r+1 in the divisibility law gives the zero-indexed sequence form of Switkay’s OEIS A095848 conjecture from the comment of 2025-09-07.

References