Divisibility Created 2026-09-24 Updated 2026-10-18
For integers , divides when multiplication by some integer takes to :Then is a divisor of , and is an integer multiple of . The notation means that no such integer exists. For , this is equivalent to saying that the quotient is an integer, or that Euclidean division by leaves remainder zero.
For example, because , whereas because . Signs do not change divisibility: because , and because . In general, changing the sign of either input preserves the relation.
The definition here permits zero as either input. Every integer divides zero, since . In particular, ; however, whenever , since is always zero. This is a statement about multiplication, and assigns no meaning to division by zero: remains undefined.
Two useful properties come directly from the defining multiplication. Divisibility is a reflexive relation, since , and a transitive relation: if and , then . Moreover, a shared divisor divides every integer linear combination:Indeed, writing and gives . For example, and imply . This small observation explains why the Euclidean algorithm preserves common divisors, and why Bézout's identity can certify a greatest common divisor.
On the positive integers, divisibility is a partial order: if and , then . The restriction matters, since and although . The prime factorization viewpoint makes this order concrete: exactly when every prime valuation of is at most the corresponding prime valuation of . Thus one relation connects equal grouping, prime factorization, and modular arithmetic.
Book VII, definitions 3 and 5 of Euclid's Elements describe the corresponding positive-number relation through one number measuring another and through integer multiples. The sign and zero conventions above belong to the present integer formulation, rather than to those ancient definitions. [ref]
https://geometor.github.io/euclid/heath/VII/index.html. Euclid, Elements VII, definitions 3 and 5, T. L. Heath translation
Euclid's lemma 2026-10-13
If a prime number divides a product of integers , then divides or (possibly both):For example, and . The hypothesis that is a prime number matters: , although six divides neither factor. When does not divide , the greatest common divisor of and is one; multiply Bézout's identity by to see that . Repeated application makes this the uniqueness step in the fundamental theorem of arithmetic. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVII/propVII30.html. Euclid, Elements, Book VII, Proposition 30
.For a completely computed example, because , while shows that seven does not divide twenty. Bézout's identity becomes, after multiplication by ,The two terms on the right are divisible by seven, which explicitly recovers the forced divisibility of the second factor. Both alternatives can hold: , and seven divides both and .
In fact the property characterizes prime numbers among the integers greater than one. If is a composite number, choose with ; then , but divides neither nor . For several factors, repeated application of Euclid's lemma says that a prime number dividing their product divides at least one factor. In a product of prime numbers, that factor must equal it, because a prime number has no other prime factor. This is what prevents a different collection of prime factors from representing the same positive integer in the fundamental theorem of arithmetic.
Book VII, Proposition 30 of Euclid's Elements states the result in terms of a prime number measuring a product; its proof uses coprimality and ratios. The calculation using Bézout's identity above is a modern way to explain the same divisibility statement. [ref]
https://mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII30.html. Euclid, Elements VII.30, translated text hosted by David Joyce
Euclid's theorem Created 2026-10-05 Updated 2026-10-14
There are infinitely many prime numbers. Indeed, for any finite list of prime numbers , the integer has a prime factor, by the fundamental theorem of arithmetic. None of the listed prime numbers divides , since each divides and a common divisor would divide . Thus no finite list contains all prime numbers. The constructed need not itself be a prime number.
For example, the first six prime numbers giveBoth prime factors lie outside the original list, although is a composite number. The construction defeats a proposed complete list; it is not a formula guaranteed to produce a prime number. Book IX, Proposition 20 of Euclid's Elements explicitly considers both possibilities, prime and composite. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookIX/propIX20.html. Euclid, Elements, Book IX, Proposition 20: a prime or composite successor
. Finite geometric series Created 2026-09-24 Updated 2026-10-14
A finite geometric series is a sum of consecutive terms of a geometric progression. With first term and terms, including for the empty sum,Unlike an infinite geometric series, this identity does not need . For example, . The number of terms is five; the largest exponent is four.
The cancellation behind the formula is especially useful to remember: multiplying by the common ratio shifts all terms one place. In , every interior term cancels, leaving . Division by gives the identity when ; at the sum is directly . The same argument works for complex numbers.
For integers and , the shifted version isThere are terms. All powers must be defined; if a negative exponent is present, must be nonzero. At this sum is simply . The finite trigonometric sum uses this identity with a complex exponential as the common ratio.
Finite sums of positive integers in a geometric progression already appear in Euclid's Elements, Book IX, Proposition 35. The argument there compares differences of proportional numbers; Joyce's guide rewrites its conclusion as the modern finite-sum formula. This historical result concerns finite sums, without asserting an infinite limit. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookIX/propIX35.html. Euclid, Elements IX.35, with David Joyce's guide to the algebraic form
Fundamental theorem of arithmetic Created 2026-09-24 Updated 2026-10-20
Every integer is a product of prime numbers, uniquely up to reordering the factors. More precisely, there are unique distinct prime numbers and unique positive integer exponents such thatIn the header's displayed form, is the prime valuation, the exponent of in this prime factorization; it is zero when does not divide . Reordering or regrouping the prime factors does not give a different prime factorization.
For , repeated division gives , , , then , , and . ThusIts nonzero prime valuations are , and . Recording only the distinct prime factors would lose the difference between and .
This turns divisibility into coordinatewise comparison of nonnegative exponents. A positive divisor of chooses an exponent from for , from for , and from for , giving positive divisors. The greatest common divisor takes the smaller exponent at each prime number; the least common multiple takes the larger. The theorem is a structural description, not an assertion that finding the factors of every large integer is computationally easy.
In general, for positive integers , the exact divisibility criterion isFor example, divides , with quotient , whereas does not: it requires four factors of two, but supplies only three. Both use only prime factors of , so membership in that list alone does not establish divisibility. Every positive divisor of is uniquely with , , . Sorted, all 24 positive divisors areThus the divisor function gives . These include divisors that are composite numbers, as well as the prime factors and one.
For another positive integer , the prime valuations give exact formulas for the greatest common divisor and least common multiple:With and , their prime valuations at are and . The smaller exponents give , and the larger give , henceIndeed, , , and . The same rules also explain : the smaller and larger exponents sum to the two original exponents. Here .
Prime valuations compute the greatest common divisor, least common multiple and all 24 positive divisors of 360
. The upper table compares exponents at the prime numbers for and , then takes their columnwise minimum and maximum. The lower tables enumerate for and ; each cell gives one positive divisor. Details.The useful change of viewpoint is that multiplication becomes addition of prime valuations, , and divisibility becomes comparison. Many different-looking calculations therefore share one representation. The prime valuations are coordinates for multiplication, rather than digits in positional notation: they do not turn ordinary addition of integers into coordinatewise addition.
Different intermediate splits lead to the same prime ingredients. Starting with gives and ; starting with gives and . Continuing to split the composite numbers produces the same multiset of prime factors: three twos, two threes, and one five. The factorization tree records choices in the calculation, while the prime factorization records the invariant result.
The proof outline explains the uniqueness. Existence follows by splitting a composite number into smaller factors until only prime numbers remain. For uniqueness, Euclid's lemma says that a prime factor of one product must divide one factor of any other prime product equal to it. That factor must be the same prime number; cancel it and repeat. The crucial divisibility step appears in Book VII, Proposition 30 of Euclid's Elements. [ref]
https://mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII30.html. Euclid, Elements VII.30: a prime divisor of a product
The ancient text supplies specific precursors to the modern statement: Book VII, Proposition 31 establishes that every composite number has a prime factor, and Book IX, Proposition 14 excludes any new prime factor from the least common multiple of given prime numbers. These are the propositions being cited, rather than the complete modern exponent formulation of the fundamental theorem of arithmetic. [ref]
https://mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII31.html. Euclid, Elements VII.31: every composite number has a prime divisor
[ref]https://mathcs.clarku.edu/~djoyce/java/elements/bookIX/propIX14.html. Euclid, Elements IX.14: prime divisors of a least common multiple of primes
Excluding one from the prime numbers keeps uniqueness meaningful: otherwise would give different collections of supposed prime factors. For , the natural convention is the empty product, equal to one, with no prime factors and all prime valuations zero.
Least common multiple Created 2026-09-24 Updated 2026-10-20
For positive integers , their least common multiple is the smallest positive integer that is an integer multiple of both. Write it as . A positive common integer multiple always exists, since is one, but it can be larger than necessary.
For example, the positive integer multiples of begin , while those of begin . Their first positive coincidence is , so . Both also divide zero, but the word positive excludes zero from this minimum.
Suppose two events happen every twelve and eighteen days, and both happen at day . Their next meeting is at day , after three twelve-day intervals and two eighteen-day intervals. Through day , their common event times are .
The prime factorization explains why this coincidence occurs. For the integers and ,A common integer multiple must contain at least the prime valuations required by each input. Taking the larger prime valuation at each prime number meets both requirements with no extra factors. The greatest common divisor uses the smaller prime valuations instead. This is the same coordinate comparison developed under prime factorization, applied in opposite directions.
For 12 and 18, smaller prime valuations give greatest common divisor 6 and larger ones give least common multiple 36
. Bars show the exponents of the prime numbers two and three in , , and . The table makes the minimum and maximum in each column explicit. Details.For any positive integers , the prime valuations giveThe proof outline is one observation at each prime number: . Hence the two sides have identical prime factorizations. Numerically, . This also gives a calculation using the Euclidean algorithm for the greatest common divisor, without first finding the prime factors of both inputs.
Every positive common integer multiple is an integer multiple of the least common multiple, because its prime valuations must be at least the larger input prime valuations. Including negatives and zero, the common integer multiples of and are exactly for integers . For more than two positive integers, the same definition and rule of taking the largest prime valuations apply; one may also combine inputs successively. For example, .
For nonzero signed integers, take absolute values: . We extend the definition to zero by the convention , since zero is then the only common integer multiple; this is an extension, not a positive minimum. In particular must be handled separately from the displayed quotient, which would involve division by zero.
The least common multiple is useful for combining fractions with the smallest positive shared denominator. For example,Its scheduling interpretation requires care about starting times. If the events start at integer days and , a common time must satisfy the integer congruences and . The Chinese remainder theorem for noncoprime moduli says a solution exists exactly when . If it exists, solutions form one congruence class modulo , but the first meeting need not be day . With starts , the first meeting is day and subsequent meetings are ; with , they never meet. The beauty of the least common multiple is the exact shared spacing, while the integer congruences determine whether and where the spacing begins.
Book VII, Proposition 34 of Euclid's Elements constructs the least common multiple of two numbers, and Proposition 36 extends the construction to three by first combining two of them. In modern notation this is . These are specific ancient treatments of the construction, rather than a claim about its first discovery. [ref]
https://geometor.github.io/euclid/heath/VII/34/index.html. Euclid, Elements VII.34, T. L. Heath translation: two numbers
[ref]https://geometor.github.io/euclid/heath/VII/36/index.html. Euclid, Elements VII.36, T. L. Heath translation: three numbers
There is no convincing single birthplace of science unless the definition is narrowed in advance. Systematic astronomy and mathematics preceded classical Greece; Greek natural philosophy developed distinctive explanatory and demonstrative ambitions; early modern Europe transformed the relationship between mathematics, experiment and institutions. These are different historical achievements. Treating any one of them as the creation of everything now called science confuses a particular form of inquiry with inquiry's entire history.
A good test begins with surviving practices rather than a list of supposed founding geniuses. The Babylonian astronomical diary VAT 4956 records positions of the Moon and planets relative to named stars, together with other observations, for 568–567 BCE. Such a record requires trained observers, a conventional vocabulary and a means of accumulating observations over time. Its intellectual value is not annulled because astronomy was entangled with divination and royal administration. However, this particular diary should not be credited with everything achieved by later Babylonian predictive astronomy: an observational record is evidence of systematic recording, not by itself evidence of a particular predictive algorithm.[ref]
Babylonian astronomical diary VAT 4956. Obverse and reverse: dated lunar and planetary observations; the modern edition identifies the recorded year as 568–567 BCE
Egyptian mathematics provides a different kind of evidence. Problem 50 of the Rhind mathematical papyrus gives a procedure for the area of a circular field: remove one ninth of its diameter and square the remainder. Written in modern algebraic notation, the procedure isComparing this with the modern circle formula gives the effective approximation . This is our reconstruction of the rule's accuracy, not a claim that its author used our symbol or formulated an abstract theory of that constant. A worked numerical procedure is mathematical knowledge even when it is not presented as a Greek-style proof.[ref]
Rhind mathematical papyrus. Problem 50: circular field with diameter nine, reduced to eight, giving area sixty-four
The case for Greece therefore needs a more specific claim. In Physics by Aristotle, nature is investigated through principles of motion and change, and explanation requires identifying different kinds of cause. His distinctions between material, formal, moving and final causes constitute an explicit programme of explanation, not merely a collection of useful recipes. Greek mathematics, exemplified by Euclid's Elements, made the organization of results into chains of proof unusually prominent. These traditions help explain why later European scholars gave Greek texts such authority. They do not establish that earlier or non-Greek practitioners lacked reasoning, nor that all Greek explanations were correct.[ref]
Physics by Aristotle. Book II, chapters 1–3: nature as an internal principle of change, mathematical abstraction and the different senses of cause
[ref]The European sixteenth and seventeenth centuries nevertheless deserve attention as more than the recovery of ancient truths. Galileo Galilei's Two New Sciences by Galileo Galilei joins precise definitions of motion to geometrical demonstrations and reported tests. An inclined plane lengthens a descent sufficiently to compare its distance and time; a mathematical dependence becomes something an apparatus can discriminate. Francis Bacon's Novum Organum by Francis Bacon instead urges a disciplined reconstruction of inquiry through ordered experience and the correction of intellectual prejudices. Their programmes differ, but both show participants deliberately contesting how knowledge should be made. Neither text authorizes the claim that observation or reasoning had only just been invented.[ref]
Two New Sciences by Galileo Galilei. Third Day: definition of uniformly accelerated motion, Theorem II and the reported inclined-plane trials
[ref]Novum Organum by Francis Bacon. Book I, aphorisms 19 and 38–44: methods of inquiry and the idols affecting understanding
Institutional criteria also change the answer. If science means a modern profession with specialized laboratories, credentials and journals, even sixteenth-century Europe is too early for much of it. If it means any successful craft technique, the category becomes so broad that the first surviving written text cannot identify its beginning. If it means public, revisable claims about nature supported by disciplined observation and reasoning, several ancient traditions qualify, with different strengths and social settings. Each definition selects different evidence; none should be smuggled into a geographical verdict.
The strongest conclusion is consequently plural but discriminating. Greece was a major centre of explanatory natural philosophy and demonstrative mathematics; early modern Europe was a major site of their reorganization; neither was the unique beginning of systematic knowledge of nature. This conclusion recognizes real differences in standards of explanation without using proximity to present-day science as the sole measure of past achievement. It also leaves open the historical work of tracing transmission and transformation rather than imagining isolated civilizations independently possessing, or wholly lacking, a timeless scientific essence.
Steven Shapin's challenge is persuasive as a criticism of a single, uniform founding event; it is much less persuasive if read as denying substantial changes in knowledge. His opening provocation introduces an argument about the diversity of early modern practices, purposes and standards. It should be assessed as a historical interpretation, rather than treated as a literal assertion that nothing happened. The useful question is whether the Scientific Revolution names an explanatory pattern or imposes an artificial unity on unlike developments.[ref]
The Scientific Revolution by Steven Shapin. Introduction: the opening challenge to a single Scientific Revolution and discussion of the diversity of practices conventionally grouped under that name
There is a strong case for retaining the category in a qualified form. Compare Aristotle's programme of explaining natural motion through the nature of bodies and different kinds of cause with Isaac Newton's organization of classical mechanics around definitions, Newton's laws of motion and mathematical consequences of specified forces. Newton's law of universal gravitation brought terrestrial falling bodies and planetary motion into one quantitative framework. That changed both the content of explanations and the problems they could solve: the same relation could constrain orbits, lunar motion and terrestrial gravitational acceleration. This is a substantial transformation even though Newtonian mechanics was later revised.[ref][ref]
The Mathematical Principles of Natural Philosophy by Isaac Newton (1846 edition). Definitions and Laws of Motion; Book III, propositions I–VIII, connecting celestial motion and terrestrial gravity
Instrumentation likewise altered what could count as evidence. Robert Boyle's air pump attached a transparent receiver to a mechanical means of removing air. Its value was not merely that an observer saw an unusual event. Successive operations could vary the condition of the enclosed gas, while observers compared such effects as the expansion of a partly inflated bladder and changes in combustion or animal breathing. The apparatus made contrasts that ordinary unaided observation could not easily produce. Yet its results depended on the quality of seals, the operator's skill and decisions about whether a trial had worked. Experiment was an organized achievement rather than nature speaking without mediation.[ref]
New Experiments Physico-Mechanicall by Robert Boyle. 1660: apparatus description and experiments on the spring of air, combustion and respiration, including experiments 40–41
The difficulty for an unqualified revolution narrative is that these changes did not have one method. Francis Bacon emphasized the disciplined ordering of instances and cautioned against premature generalization. Galileo Galilei deliberately reasoned about idealized motion, then connected its mathematical relations to particular trials. Isaac Newton built geometrical arguments concerning forces and used astronomical phenomena to select their application. These are related challenges to inherited authority, but not interchangeable versions of a universal method introduced on one date. Nor does a successful mathematical treatment of planetary motion establish an equally sudden transformation of all biology or medical practice.[ref]
Novum Organum by Francis Bacon. Book I, aphorisms 19 and 95–105: routes from experience to axioms and the proposed reform of induction
[ref]Two New Sciences by Galileo Galilei. Third and Fourth Days: mathematical treatment of acceleration and projectile motion
[ref]The Mathematical Principles of Natural Philosophy by Isaac Newton (1846 edition). Book I, opening sections; Book III, phenomena and propositions I–VIII
Continuities also matter. Euclid's Elements furnished a demonstrative tradition that early modern authors could adapt rather than invent. Existing astronomy supplied observations and problems without which a new celestial mechanics would have had little to explain. The Philosophiae Naturalis Principia Mathematica by Isaac Newton itself is predominantly geometrical in presentation: identifying modernity solely with replacement of geometry by symbolic calculus would misdescribe a central work of the supposed revolution. Equally, an investigator's religious commitments need not have disappeared for mathematical or experimental work to develop. The Philosophiae Naturalis Principia Mathematica by Isaac Newton's General Scholium combines claims about the limits of physical explanation with natural theology.[ref]
Euclid's Elements. Book I: the demonstrative organization later mathematical natural philosophy inherited
[ref]The Mathematical Principles of Natural Philosophy by Isaac Newton (1846 edition). Book I: geometrical propositions; General Scholium, added in the 1713 edition
These qualifications expose a geographical and social selection problem. If the historian defines the event by a few successful European texts in astronomy and classical mechanics, then concludes that Europe suddenly acquired the scientific mentality, the selection has already determined much of the result. Robert Boyle's apparatus depended on skilled construction and operation; printed demonstrations depended on readers able to understand and assess them. A history of disembodied ideas misses the work that made claims credible. Conversely, locating that work in a social setting does not invalidate the measured relationships or make every contemporary theory equally successful.
The Scientific Revolution is defensible as a retrospective name for interconnected, uneven transformations, especially in astronomy, classical mechanics and experimental practice. It is misleading as a single moment when a universal scientific essence replaced ignorance. Steven Shapin's provocation improves the category by forcing its boundaries and assumptions into view. Abandoning the capitalized label is optional; abandoning the expectation of one origin, one method and one uniformly affected society is the more important historical correction.
Prime number Created 2026-09-24 Updated 2026-10-13
A prime number is a positive integer whose only positive divisors are and . The first ten prime numbers are . In contrast, is a composite number because it has a positive divisor strictly between one and itself. The integer one is neither a prime number nor a composite number: the lower bound is part of the definition. Equivalently, the divisor function satisfies for a prime number, whereas and for every composite number .
Prime numbers are the building blocks of positive integers under multiplication. The fundamental theorem of arithmetic says that every integer greater than one is a product of prime numbers, with a unique collection of factors when their order is ignored. For example, and . Their common factors reveal the greatest common divisor , and the combined maximum powers reveal the least common multiple . A complicated divisibility question becomes a comparison of prime exponents.
There is also a useful finite test. If a composite number equals with , then . Therefore some prime factor is at most , and trial division only needs to check prime numbers up to that square root. For , checking suffices; none divides , so it is a prime number. For , the same test finds , giving . To find many prime numbers together, the sieve of Eratosthenes reuses the work by marking multiples.
The division with remainder calculations for make the test explicit:Since , these are all the prime numbers at most its square root, and every remainder is nonzero. Thus the calculation certifies a prime number, without testing the integers individually. In contrast, gives a prime factor and proves that is a composite number.
The definition has a long history. Book VII of Euclid's Elements distinguishes prime numbers from composite numbers through their possible measures; Book IX, Proposition 20 establishes that no finite list exhausts the prime numbers. The modern argument under Euclid's theorem needs only divisibility, so it proves an infinite conclusion without estimating how frequently prime numbers occur. [ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVII/defVII11.html. Euclid, Elements, Book VII, definitions 11–14, David Joyce's edition
[ref]https://mathcs.clarku.edu/~djoyce/elements/bookIX/propIX20.html. Euclid, Elements, Book IX, Proposition 20
. Pythagorean theorem Created 2026-09-28 Updated 2026-10-14
For a right triangle in Euclidean geometry with perpendicular side lengths and hypotenuse , the Pythagorean theorem statesGeometrically, the area of the square on the hypotenuse equals the sum of the areas of the squares on the other two sides. Euclid's Elements, Book I, Proposition 47 states this area equality; Proposition 48 states its converse: a triangle satisfying the equality has a right angle opposite side .[ref][ref]
For and , we compute . The triangle has area , and its side lengths form a Pythagorean triple. Conversely, a triangle measured to have sides must have a right angle between the sides and . This makes the equality both a calculation tool and a test for perpendicularity.
The three squares in the next figure have areas , and in squared length units. These are different from the central right triangle's area . The Pythagorean theorem adds the areas of the attached squares, not their side lengths and not the area of the triangle. The square on the hypotenuse is tilted, but a rotation preserves its area. This makes the formula visible without suggesting that the hypotenuse has to align with an axis.
Historically, Euclid's Elements records an organized proof of the Pythagorean theorem as an equality of areas, rather than the modern equation between numbers representing lengths. Its placement in Book I makes it available before the treatment of similar triangles in Book VI. This is evidence of how the result was established within that text; the name Pythagorean theorem alone does not establish who first discovered or proved it. The precise historical anchor here is the surviving proposition, rather than an unsupported story of a single inventor.[ref]
https://mathcs.clarku.edu/~djoyce/elements/bookI/propI47.html. Euclid, Elements I.47, statement and proof
The dissection below makes the general identity tangible. Both outer squares have side and contain the same four congruent right triangles. In the first arrangement, their hypotenuses bound a square of side : adjacent acute angles together make a right angle. In the second, the uncovered regions are squares of sides and . Subtracting the same total triangle area from equal outer areas givesFor the pictured dimensions, the shared uncovered area is .
The same mechanism survives in inner product spaces: for orthogonal vectors , expanding the inner product gives . This is why orthogonal projection separates a squared distance into independent contributions. The familiar right triangle is the simplest picture of a much more reusable principle.
Sieve of Eratosthenes 2026-10-14
The sieve of Eratosthenes finds all prime numbers at most an integer . Start with the integers marked as candidates. For each surviving candidate in increasing order, mark the multiples up to as composite numbers. Stop processing candidates once : the surviving candidates are exactly the prime numbers. Starting at saves work because any smaller proper multiple of already has a smaller prime factor. [ref]
https://web.stanford.edu/class/cs106aj/res/handouts/36-Section-6.pdf. Jerry Cain, Stanford CS106AJ, Section Handout 6, Problem 4: the sieve of Eratosthenes
.For a complete run with , the only prime numbers at most are , since . Exclude one before starting; it is not a prime number. The four marking passes are:
- : mark , removing 29 candidates.
- : mark . The nine newly removed candidates are ; the even integers were already marked.
- : mark . Only are newly removed.
- : mark . Only is newly removed.
There are surviving prime numbers:The next surviving candidate is , and , so no further marking pass is necessary. A prime number used for marking remains a candidate: starting at never marks itself.
Four passes of the sieve of Eratosthenes through 60 leave seventeen prime numbers
. Blue cells are newly marked composite numbers; gray cells were removed earlier. White cells are candidates in the first three panels, and green cells are the final prime numbers. The outlined cell identifies the prime number used for that pass. One is excluded throughout. Details.The saving from starting at is justified by the smaller multiplier: if with , then has a prime factor , so has already marked . For , the earlier multiples have already been marked using or . The first new possibility is .
For , only the prime numbers need marking passes. They remove all the composite numbers, leaving 25 prime numbers. The diagram colors each composite number by its smallest prime factor, so it shows which marking pass removes it first. The excluded integer one is shown separately.
Why does the algorithm work? A surviving candidate cannot be a composite number, since its smaller prime factor would already have removed it. Conversely, marking proper multiples never removes a prime number. Every composite number at most has a prime factor at most , so no later pass is needed. The sieve of Eratosthenes is useful when an entire bounded list is wanted; primality testing of one large integer is a different computational task.
The historical name is supported by a surviving primary account: Nicomachus, in Book I, chapter 13 of Introduction to Arithmetic, names Eratosthenes and describes separating prime numbers from composite numbers by marking multiples among the odd integers beginning with three. That passage documents the sieve tradition; the bounded algorithm above and its starting rule are the formulation explained here, rather than instructions quoted from Euclid's Elements. [ref]
https://stoicheiamath.com/wp-content/uploads/2025/09/Nicomachus-Introduction-to-Arithmetic-Student-Edition.pdf#page=28. Nicomachus, Introduction to Arithmetic I.13.2–8, Martin Luther D'Ooge translation (1926), revised classroom edition by Nathanael Hahn (2025), pp. 24–25
Similar triangle Created 2026-10-14 Updated 2026-10-20
Two triangles are similar if a Euclidean similarity maps one onto the other. Their corresponding angles agree, and corresponding side lengths have a common positive ratio.
Specify the correspondence first: matches , matches and matches . For similar triangles, the common scale factor satisfiesThe ratios compare matching sides in the same order. A Euclidean similarity can also move, turn or reflect the triangle; its orientation on the page is irrelevant. In the Euclidean plane, matching just two interior angles is enough: their sums force the third to match, and equal corresponding angles force the side ratios to agree. This is the angle-angle (AA) criterion for similar triangles. Matching just one angle is insufficient.
Scale the right triangle with vertices , and by . Its new vertices are , and , and its side lengths are . The matching side ratios are . Both triangles have a right angle and the same two other interior angles, approximately and . However, their areas are and : doubling lengths multiplies area by four.
Generally, a Euclidean similarity multiplies both a base and its perpendicular height by , so the area becomes . This explains why an enlarged drawing needs four times as much surface when each length doubles. It also enables indirect measurement: under assumptions of level ground, vertical objects and parallel light rays, an object of height casting a shadow of length provides a right triangle. Another object's shadow of length gives a similar triangle and height . The shared angles justify the inference; visual resemblance alone does not.
Euclid's Elements VI, Definition 1 describes similarity using corresponding angles and proportional sides. VI.4 establishes the implication from matching angles to matching side ratios, while VI.19 states the squared relation between side ratios and areas. These are documented ancient formulations of the principles used above, without establishing a first discoverer.[ref][ref][ref]
https://mathcs.clarku.edu/~djoyce/elements/bookVI/propVI19.html. Euclid, Elements VI.19
Sum-of-divisors function Created 2026-10-03 Updated 2026-10-20
The sum-of-divisors function adds all positive integer divisors of a positive integer, including the number itself:It is the divisor sum of the identity arithmetic function , so under Dirichlet convolution. Both factors are multiplicative functions, hence so is the sum-of-divisors function. The notation distinguishes it from other weighted divisor sums. [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781 notes, Definition 2.1.2 and Proposition 2.2.2(e)
For a prime number and a nonnegative exponent , the positive integer divisors of the prime power are precisely . Their finite geometric series givesFor example, . For a prime factorization with distinct prime numbers and positive exponents , multiplicativity givesFor , this is an empty product, equal to . [ref]
https://darijgrinberg.gitlab.io/floor.pdf. Darij Grinberg, MIT 18.781 notes, Theorem 2.1.8 with k equal to one
The distributive property makes the formula especially beautiful: choosing one term from each factor produces each positive integer divisor exactly once, by the fundamental theorem of arithmetic. For , the choices form a three-by-two grid with entries , where and . Adding its rows givesThe divisor function counts six cells; the sum-of-divisors function adds their six values. Once the prime factorization is known, the product formula avoids testing every candidate integer divisor. Shared prime factors require care: , so the sum-of-divisors function is not a completely multiplicative function.
The sum-of-divisors function for : each grid entry is a positive integer divisor, and the weighted total is
. Details. Subtracting the number itself gives the proper-divisor sum . Comparing with distinguishes perfect numbers, deficient numbers, and abundant numbers. For , ; for , . Both are perfect numbers. The calculation makes a deficient number, while makes an abundant number. These comparisons turn the sizes of integer divisors into a classification of positive integers. [ref]
The proper-divisor sum for : perfect numbers lie on , deficient numbers below it, and abundant numbers above it
. Details. This connection is ancient: Euclid's Elements, Book IX, Proposition 36, constructs a perfect number by multiplying the last term of by their sum, when that sum is a prime number. In modern notation, put and , with and a prime number. The sum-of-divisors function proves the construction immediately:Consequently the proper-divisor sum is . Taking produces the perfect numbers . [ref]
Book IX, Proposition 36. Euclid, Elements IX.36, translated text and commentary by David Joyce
Triangle Created 2026-09-24 Updated 2026-10-14
A triangle is the convex hull of three noncollinear points: the three vertices must not lie on one line. Its boundary consists of the three joining line segments; depending on context, "triangle" can mean this boundary or the filled region it encloses. Here a triangle's area refers to the filled region. The noncollinearity assumption excludes a collapsed shape with zero area, for which ordinary interior angles are not defined.
For example, the positions , and form a right triangle with a right angle at the origin. Taking the side of length as its base gives perpendicular height , so its area is . The height is measured at a right angle to the chosen base; it is not generally the length of another side. In this example it happens to be a side because the triangle is a right triangle.
By contrast, side lengths define a valid triangle: each side is shorter than the sum of the other two, as required by the strict triangle inequality. But , so this is not a right triangle and the Pythagorean theorem cannot calculate its longest side from the other two. The law of cosines instead gives the opposite interior angle throughThis example separates the definition of a triangle from the additional assumption of a right angle.
Every triangle in the Euclidean plane has interior angles summing to radians, a result proved in Euclid's Elements I.32.[ref] It lets two measured angles determine the third, and underlies the angle-angle criterion for similar triangles. The qualification "Euclidean plane" matters: the earlier spherical triangle demonstrates a different sum.










