Chapter 13: Relatively Prime Numbers & the Sieve of Eratosthenes — Summary¶
Overview¶
Nicomachus defines the intermediate third species of odd numbers, sets out Eratosthenes’s Sieve (Koskinon) to separate all three species, and presents the antaphairesis (Euclidean subtraction) test for relative primality:
The Intermediate Species (I.13.1): Numbers such as \(9\) and \(25\) are each secondary and composite in themselves, yet when compared to each other share only unity as a common measure and share no homonymous fractional part—so they are relatively prime and incomposite.
The Odd Sieve of Eratosthenes (I.13.2–8): Listing all odd numbers from \(3\) onward, each prime \(p\) measures subsequent terms by skipping \(2k\) places (where \(k\) is its rank: stride 3, skipping 2; stride 5, skipping 4; \(7\), skipping 6), with multiplicities stepping through the odd sequence \(3, 5, 7, \dots\). Numbers untouched by any sieve stride are prime; squares of primes (\(9, 25, 49, \dots\)) are composite yet mutually prime to one another; and numbers struck by multiple or non-square strides are fully composite.
Antaphairesis Algorithm (I.13.9–13): Given two odd numbers, repeatedly subtracting the lesser from the greater (antaphairesis) terminates either at \(1\) (proving them relatively prime, as with \(23\) and \(45\)) or at an odd number greater than \(1\) (giving their greatest common measure, as \(7\) for \(21\) and \(49\)).