Ratajczak’s A008590 gcd-filtered sum characterization
Abstract
Both of Ratajczak’s gcd-filtered sums are even exactly at multiples of eight above one.
Definition 1.1 (The second greatest common divisor).
Formalization. D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.gcd2 (✓ std3).
Citation. N. J. A. Sloane; Lechoslaw Ratajczak (2017). OEIS A008590, Multiples of 8. URL: https://oeis.org/A008590.
Commentary.
For a non-coprime pair, gcd_2 is the greatest proper divisor of the greatest common divisor. The slash denotes natural-number division.
Definition 1.2 (The second least common divisor).
Formalization. D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.lcd2 (✓ std3).
Citation. N. J. A. Sloane; Lechoslaw Ratajczak (2017). OEIS A008590, Multiples of 8. URL: https://oeis.org/A008590.
Commentary.
For a non-coprime pair, lcd_2 is the least divisor greater than one of the greatest common divisor.
Definition 1.3 (The gcd_2-filtered sum).
Formalization. D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.G (✓ std3).
Citation. N. J. A. Sloane; Lechoslaw Ratajczak (2017). OEIS A008590, Multiples of 8. URL: https://oeis.org/A008590.
Commentary.
The sum ranges from one through m and retains exactly the indices k that are not coprime to m. Each retained term is gcd_2(k,m).
Definition 1.4 (The lcd_2-filtered sum).
Formalization. D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.L (✓ std3).
Citation. N. J. A. Sloane; Lechoslaw Ratajczak (2017). OEIS A008590, Multiples of 8. URL: https://oeis.org/A008590.
Commentary.
The sum has the same gcd filter as G and replaces each term by lcd_2(k,m).
Theorem 1.5 (The simultaneous parity classification).
Proof. Machine-checked in Lean as D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.result (✓ std3). ∎
Resolves. Problems/oeis-a008590-gcd-sum-parity-characterization (proved) by D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.result.
Source. Repository-derived.
Commentary.
The gcd-filtered involution parity lemma pairs k with m-k and isolates m/2 as the only possible fixed point. The resulting modulo-four classification proves that both sums are even exactly when eight divides m. At m=1 both filtered sums are empty and even, so the hypothesis excludes that boundary.
References
- Truth anchor:
D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.G - Truth anchor:
D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.L - Truth anchor:
D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.gcd2 - Truth anchor:
D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.lcd2 - Truth anchor:
D5/S3/ArithSums/RatajczakGcdSumParityCharacterization.result