Introduce a variable for every nonempty and the homogeneous equations for . In their matrix , partition the columns by the displayed blocks. For each , the vector with coordinate exactly when lies in the kernel of a linear map of . Its nonzero coordinates occur in and earlier blocks only; every coordinate in is one. Hence the first block's column sum is zero and every subsequent block sum is in the linear span of earlier columns. The columns condition holds, so Rado's theorem forces a positive monochromatic solution, and all nonempty finite sums of its singleton coordinates have the same colour.
After clearing denominators in a matrix, for every disjoint pair of index sets with nonempty and outside the linear span of the -columns, choose an integer linear functional vanishing on those columns but not on the indicated sum. Choose a prime number dividing none of the finitely many nonzero evaluations. The last nonzero digit coloring for this prime, applied to a monochromatic positive solution, groups coordinates into blocks by P-adic valuation. Applying the appropriate functional and reducing modulo the prime shows that each block sum lies in the linear span of all earlier columns. This proves necessity in Rado's theorem without an asymptotic limiting argument.
Last nonzero digit coloring Created 2026-09-28 Updated 2026-10-05
For a prime number , write a positive integer as with . Its last nonzero base- digit is , an element of . Assigning this digit as the color gives the last nonzero digit coloring used in the necessity proof of Rado's theorem.
P-adic columns lemma Created 2026-09-24 Updated 2026-09-24
The necessity direction in Rado's theorem colors an integer using initial data from a P-adic valuation. Applying partition regularity and grouping the coordinates of a monochromatic solution by valuation yields the blocks in the columns property; reduction modulo successively higher powers of supplies the required linear dependences.
For a rational matrix , write its columns as . It is partition regular if every finite colouring of admits positive integers , all of one colour, with . Repeated coordinates are allowed. The columns condition is an ordered partition
into nonempty blocks such that
Rado's theorem states that a rational matrix is partition regular if and only if it satisfies the columns condition. We prove both implications.
For necessity, clear denominators so the columns are integral. For every disjoint pair of index sets with and
choose a rational linear functional annihilating all columns in but not . Such a functional exists by extending a basis of the indicated linear span to include , prescribing zero on the former and one on the latter. Clearing its denominators produces an integer-coefficient functional with a nonzero integer. There are only finitely many pairs . Choose a prime number dividing none of these nonzero evaluations; if there are no bad pairs, choose any prime.
Use the last nonzero digit coloring for this prime. Namely, write with and colour by . By partition regularity, obtain a positive monochromatic solution. Let the distinct P-adic valuations of its coordinates be
and put . All unit parts have a common nonzero residue modulo .
For a block , let . If its column sum were outside the earlier linear span, apply to the equation . Earlier-block contributions are exactly zero. Divide the remaining equation by and reduce modulo . Higher-valuation terms vanish, leaving
This contradicts the choice of and . Consequently every block sum lies in the earlier linear span. For that span is , so its sum is zero. This proves the columns condition by the finite separating-functional proof of the columns condition.
For sufficiency, suppose the blocks satisfy the columns condition. Choose rational coefficients , for , such that
Take a positive integer clearing all their denominators and an integer at least as large as every . An M-p-c set with generators consists of all values
with every such value positive. The generators are therefore chosen with . Positivity is part of the configuration, not achieved by deleting inconvenient values.
Use the permitted monochromatic m-p-c set theorem to obtain one such monochromatic set. For each , put
Every is a positive element of that set, because its non-leading coefficients are integers of magnitude at most . In the sum , the coefficient of is , and the coefficient of each with is
Thus . This is an explicit Rado solution inside an m-p-c set and proves sufficiency.
For the Finite sums theorem, define
To deduce its monochromaticity from Rado's theorem, introduce variables for all nonempty and equations
Let be their coefficient matrix, and partition its columns by . For a fixed , the vector with -coordinate when , and otherwise, solves this homogeneous system: in every row both sides count whether belongs to its indexing set. Hence
The first block sum is zero, and each later block sum lies in the linear span of earlier columns. This proves the columns partition for finite-sums systems. The positive monochromatic solution supplied by Rado's theorem has , and its other coordinates are exactly all the nonempty finite sums. Therefore is monochromatic. For a singleton is immediate. Equivalently, the full positive M-p-c set with directly contains every such sum, by taking its leading index to be the least index in .
For a rational matrix with columns , partition regularity means that every finite colouring of the positive integers admits a positive monochromatic vector with . Repeated coordinates are allowed. The columns condition is an ordered partition into nonempty blocks such that
Rado's theorem says that is partition regular if and only if it satisfies the columns condition. We prove both directions.
For necessity, clear denominators so the columns are integer vectors. For every pair of disjoint index sets with for which is not in the rational linear span of the I-columns, choose an integer linear functional that vanishes on those I-columns but not on that sum. Such a functional exists by finite-dimensional linear algebra; clear its rational denominators. There are only finitely many pairs, so choose a prime number dividing none of the nonzero integers
If there are no offending pairs, any prime number suffices.
Colour a positive integer , , by . This is the last nonzero digit coloring, using colours. Partition regularity gives a positive monochromatic solution. Group its coordinate indices by their distinct P-adic valuations , writing . All units have the same nonzero residue modulo .
For each , let . If its block sum failed the required span condition, apply the chosen to . The earlier terms vanish exactly, not just modulo a power of . Divide by ; terms with later valuations are still divisible by . Reduction modulo then yields
contrary to the choice of . Thus every required span relation holds, and with the first block sum is zero. This is the finite separating-functional proof of the columns condition; it avoids an unjustified passage from congruences to rational equality.
For sufficiency, assume the columns condition. Choose rational coefficients , for and , such that
Choose a positive integer clearing every denominator, and a positive integer , taking if the list is empty. By the allowed monochromatic m-p-c set theorem, there are positive generators such that all numbers
are positive and have one colour. This is a full m-p-c set; positivity is part of its definition, not a rule discarding negative expressions. For , put
These coordinates all belong to that monochromatic m-p-c set. Collecting coefficients of gives
Thus the Rado solution inside an m-p-c set proves partition regularity and completes the theorem.
To obtain the Finite sums theorem from Rado's theorem, introduce a positive variable for every nonempty and impose
Partition the columns of this system into . The -column sum is zero: in a row indexed by containing , the contributions of and cancel, and other rows receive neither. For , the -column sum is
where is the column of . Those columns lie in earlier blocks. Hence the columns condition holds. A monochromatic positive solution gives and , proving
For the system has no rows and the conclusion is immediate. The construction is also visible directly in the sufficiency proof: a monochromatic -set contains every nonempty sum of its generators, classified by the smallest chosen index.
Here is the matrix form of Rado's theorem. A matrix with entries in the rational numbers and columns is a partition regular matrix if every finite coloring of the positive integers admits a vector whose coordinates are monochromatic and for which . Its columns condition asks for an ordered partition into nonempty blocks , with
Rado's theorem states that these two conditions are equivalent. Coordinates need not be distinct; positivity is required for every coordinate.
First prove necessity using the finite separating-functional proof of the columns condition. Clearing denominators does not change either the kernel or the columns condition, so assume that has integer entries. For each pair of disjoint index sets , with nonempty, for which is outside the rational linear span of the -columns, choose an integer linear functional such that
Such a linear functional exists: extend a basis over the rational numbers of the indicated linear span by , prescribe values zero on the former basis and one on , extend to a basis of the ambient vector space over the rational numbers, and then clear the functional's denominators. There are only finitely many pairs . Choose a prime number larger than the absolute values of all their nonzero evaluations; if there are none, choose any prime number.
Color by its last nonzero digit coloring value, namely
where is the P-adic valuation. By partition regularity, choose a positive solution all of whose coordinates have the same nonzero digit . Group its indices into nonempty blocks according to increasing distinct P-adic valuations .
Suppose that a block sum is outside the rational linear span of the earlier columns, and put , taking for . Apply the selected linear functional to . The earlier terms vanish exactly. Divide the remaining integer equality by and reduce modulo . Later blocks vanish modulo , while each coordinate in contributes its common digit . We obtain
which is impossible by the choice of and because . Thus each block sum lies in the earlier linear span. For the first block, this span is zero, so . This proves the columns condition.
For sufficiency, assume the columns condition and choose rational coefficients , for , such that
Choose a positive integer clearing all these coefficients' denominators and a positive integer with for every coefficient. Use the permitted monochromatic m-p-c set theorem, in the suffix convention for an m-p-c set, to obtain positive generators such that the full set
is positive and monochromatic. The positivity of the full m-p-c set is important: we do not discard expressions that happen to be negative. For , set
All these coordinates belong to , so they are positive and monochromatic. On collecting coefficients of each , their matrix product is
This explicit Rado solution inside an m-p-c set proves sufficiency and completes the proof of Rado's theorem.
To deduce the Finite sums theorem directly from the columns condition, introduce one positive variable for each nonempty and impose
For there are no equations and any positive integer works. For , write for the column belonging to . Partition the columns into blocks in the order . Consider the row indexed by a set with . The sum of the columns in has row value
For this is always zero. For it equals one exactly for those with and . Each such is the negative coordinate vector in row , and it belongs to an earlier block. Therefore
which verifies the columns condition, rather than assuming the desired Finite sums theorem. Apply Rado's theorem to this system. Its monochromatic positive solution satisfies with , and hence
Clear a common denominator first, so that all coefficients are nonzero integers. This changes neither the solutions nor partition regularity. We prove the one-equation criterion directly; no form of Rado's theorem is used as an assumption.
For necessity, choose a prime number . Colour a positive integer by its first nonzero base- digit: writing with , use the colour . Suppose the equation has a monochromatic solution. Let be the smallest P-adic valuation of its entries and put , a nonempty set. Divide the equation by and reduce modulo . All entries indexed by contribute the same nonzero digit , and all other terms vanish. Hence
It follows that divides . The absolute value of this sum is less than , so .
For sufficiency, take a nonempty zero-sum index set and put . If , the full coefficient sum is zero and the constant vector is already a monochromatic solution in every colouring. Otherwise choose , put , and set , for . Then
Add the same sufficiently large nonnegative integer to all the , obtaining . The sum is unchanged because . Let .
Apply the scaled Brauer progression theorem, proved above from the permitted Van der Waerden theorem, to obtain one-colour numbers and . Define
All entries are positive and monochromatic, and
Therefore the row is partition regular exactly when some nonempty coefficient subset sums to zero. Repetition of entries is allowed by the definition of partition regularity.
A rational matrix is partition regular over the positive integers if every finite colouring of admits a vector whose coordinates all have the same colour and satisfy . Equal coordinates are allowed. Rado's theorem says that this holds exactly when the columns can be partitioned into nonempty blocks with
This is the columns condition. Clearing an overall denominator lets us prove necessity for an integer matrix.
Suppose the columns condition fails. There are only finitely many ordered partitions of the finite column index set. For each ordered partition, choose a failing block: its sum is outside the rational span of preceding columns, with that span interpreted as zero for the first block. Finite-dimensional linear algebra gives a rational linear functional vanishing on that span but not on . For completeness, take a basis of the span, append , extend to a basis of the column space, and prescribe values zero on the first basis vectors and one on . Clearing the functional's denominators gives an integer row functional with .
Choose one prime larger than the absolute values of all these finitely many nonzero integers . Colour each positive integer by its first nonzero base- digit:
Assume a monochromatic solution exists, and partition its coordinates into blocks of equal P-adic valuation, ordered by increasing valuations . Their first nonzero digit is a common . For this ordered partition take its chosen failing block and functional . Apply to . All preceding-block terms disappear exactly. Divide the remaining integer equation by and reduce modulo . Later blocks disappear, while the current block gives
This contradicts the prime's choice. Thus the colouring has no monochromatic solution, proving necessity. This is the finite separating-functional proof of the columns condition; it needs neither a limiting argument nor a bound on the valuations themselves.
For sufficiency, suppose the blocks satisfy the columns condition. Choose rational coefficients , for in preceding blocks, such that
Let be a positive integer clearing their denominators, and choose an integer bounding all . Use the allowed monochromatic m-p-c set theorem with generators. We use the triangular convention in which the resulting positive integer set contains every number
in one colour. This is an m-p-c set, with the generator indices reversed if the alternative lower-triangular convention is used. The permitted theorem applies to either convention, since it applies to every finite number of generators. Its set lies in , so all of the displayed combinations are positive.
For , define
Each coordinate belongs to that monochromatic set. Summing the column contributions and collecting coefficients of gives
For the inner sum is empty and . This proves sufficiency by a Rado solution inside an m-p-c set, and completes the theorem.
For the requested application, choose
The matrix, in the coordinate order , has columns
The block has zero sum. The remaining column satisfies , so it is in the span of the first block. By Rado's theorem, positive monochromatic satisfy the system. In particular,
One can see the positivity directly in the same triangular construction: a monochromatic set containing for , together with , gives
All four are positive because they belong to that positive m-p-c set. This is a partition-regular system forcing an ordered Schur relation.
Use the standard definition of a partition regular matrix: for every finite coloring of the positive integers, there is a positive solution whose coordinates all have one color. Coordinates may repeat. Clearing denominators lets us assume ; multiplication of the row by a nonzero rational number changes neither its zero-sum subsets nor its solutions. We prove both directions of the Rado theorem for one equation directly, without invoking any form of Rado's theorem.
For necessity, choose a prime number and use the last nonzero digit coloring: write , with , and assign color . Given a monochromatic solution, let , let , and let be the common color. Divide by and reduce modulo . Terms outside vanish; the others give
The nonzero residue is invertible modulo the prime number , so divides . This sum has absolute value less than , forcing it to be zero. The set is nonempty by its definition.
For sufficiency we first derive the needed Brauer progression theorem from the permitted Van der Waerden theorem. Fix positive integers . We claim that for every number of colors , a finite integer interval forces a monochromatic set
The case is immediate by taking and . For and , take in an interval of length at least . Suppose the claim holds for and write . By the Van der Waerden theorem, some forces an arithmetic progression of length in with one color . Work in so that all needed multiples also lie in the coloring's domain. If a subprogression of length and step has of color , we are done. Otherwise, for every , the initial long arithmetic progression contains such a subprogression, and avoids color . The induced finite coloring of therefore uses at most colors. The induction hypothesis gives a monochromatic set for this induced finite coloring. Multiplying by gives the desired configuration in the original coloring, with initial term and step . This proves the claim for ; the only use below has .
Now suppose for a nonempty . Choose , put , and put . If , then and any constant positive vector is already a monochromatic solution. Otherwise take and apply the proved Brauer progression theorem with . All of and for have one color. Define
Every coordinate is a positive integer in that monochromatic set, since is either or . Using the zero sum on gives
Thus both directions are proved:
For the right side is impossible, agreeing with the absence of positive solutions for a single nonzero coefficient.
Rado's criterion. Let be a matrix over the rational numbers, with columns . A partition regular matrix is one for which every finite coloring of the positive integers gives a monochromatic positive vector with ; repeated coordinates are allowed. The columns condition is the existence of an ordered set partition of into nonempty blocks such that
Rado's theorem states
Necessity. Clear denominators so the columns are integer vectors. For each pair of disjoint index sets , with , for which is outside the linear span of the -columns, choose an integer linear functional that vanishes on those columns and satisfies . Such a functional exists by extending a basis of the span to one also containing , defining a functional on that basis, and clearing its rational denominators.
There are only finitely many such pairs. Choose a prime number dividing none of these nonzero integer evaluations. If there are no such pairs, any prime will do. Use the last nonzero digit coloring: write , with , and color by . Since is a partition regular matrix, this coloring supplies a monochromatic positive solution, so all its unit parts have a common nonzero residue .
Group the coordinates by increasing P-adic valuation, obtaining blocks with valuations . Suppose for some the sum lay outside the linear span of the earlier columns, with earlier index set . Apply to . Earlier terms vanish exactly. Divide the remaining integer equation by and reduce modulo . Later terms vanish modulo , while the current block gives
contrary to the choice of . Thus every block sum lies in the earlier linear span, and for the first block this means it is zero. This proves the columns condition by the finite separating-functional proof of the columns condition.
Sufficiency. Suppose the columns condition holds. For , choose rational coefficients , indexed by earlier columns, such that
Take a positive integer clearing their denominators and bounding all . We use the allowed monochromatic m-p-c set theorem with levels. Its M-p-c set is the full set
where the generators make every displayed expression positive. Positivity is part of this convention, rather than a rule that discards nonpositive expressions. For , set
All these numbers lie in the monochromatic set . The coefficient of in is
with the first coefficient zero by . Hence . This Rado solution inside an m-p-c set proves sufficiency.
The equality-or-inequality dichotomy. If every finite coloring gives a monochromatic solution with , the first alternative holds. Otherwise fix a finite coloring admitting no such solution. Given any other finite coloring , use the refinement of a finite coloring . Since is a partition regular matrix, it supplies a solution monochromatic for both colorings. Its first two coordinates cannot be equal, by the defining property of , so it is the required unequal solution for . Thus one of the two universal alternatives always holds. This is the partition regularity dichotomy under an extra constraint; the alternatives are not asserted to be mutually exclusive.
Both restrictions can fail. The Schur matrix
is a partition regular matrix: blocks and satisfy the columns condition. Color by , using the 2-adic valuation. An equal-coordinate solution would have , and , so its coordinates cannot be monochromatic. This exhibits failure of the equality restriction.
Conversely, satisfies the columns condition in one block. Every solution has , so even the constant one-color finite coloring admits no unequal-coordinate solution. Consequently
A rational matrix is a partition regular matrix when every finite coloring of the positive integers admits a monochromatic positive vector in its kernel. Its columns have the columns property if their indices can be partitioned into ordered nonempty blocks such that the columns in sum to zero and, for , the sum over lies in the rational linear span of the columns in the earlier blocks. Rado's theorem states that a rational matrix is partition regular if and only if its columns have this property.
For one equation, clear denominators and write
The one-row columns property is equivalent to the existence of a nonempty with
First suppose such an exists. Choose , put , , and choose . The monochromatic m-p-c set theorem, whose finite induction proof uses the Van der Waerden theorem, gives positive for which all numbers
are positive and have one color. Set
The middle coefficient is the integer , of absolute value at most , so all the belong to the monochromatic set. Their contribution vanishes because the coefficients over sum to zero, and their contribution is
Thus the equation is partition regular.
Conversely, suppose no nonempty subset of the coefficients sums to zero. Choose a prime number that divides none of the finitely many nonzero subset sums. Color each positive integer by its last nonzero digit coloring in base . If a monochromatic solution existed, let be the smallest P-adic valuation among its coordinates and let index the coordinates of valuation . After division by and reduction modulo , all with have the same nonzero last digit , while the other terms vanish. The equation would give
contrary to the choice of . This proves the Rado theorem for one equation.
Let be a rational matrix with columns . It is a partition regular matrix when every finite coloring of the positive integers has a monochromatic vector with . It has the columns property when the column indices have an ordered partition such that
and, for every ,
Rado's theorem states that is partition regular if and only if it has the columns property.
First suppose is partition regular, and clear its denominators. For a prime number , apply the last nonzero digit coloring in base : if with , its color is . Choose a monochromatic solution and group its coordinates into blocks of equal -adic valuation, in increasing order of valuation. Only finitely many ordered partitions are possible, so one partition occurs for infinitely many primes.
For any such prime, divide by the lowest power of and reduce modulo . All coordinates in have the same nonzero leading digit , while later blocks vanish, so
The integer vector is divisible by infinitely many primes and therefore equals zero.
Now fix , and let be the common valuation on . Reduction modulo gives
If the first sum of columns were outside the rational linear span of the earlier columns, an integer linear functional would vanish on every earlier column but not on that sum. Applying it to the congruence would say that infinitely many primes divide one fixed nonzero integer, a contradiction. Thus the displayed partition has the columns property.
Conversely, suppose has the columns property. For , choose rational numbers such that
Let equal for , equal in the earlier blocks, and equal zero in the later blocks. For , let be the indicator of . Then
for every . Choose a positive integer clearing all denominators and a positive integer with whenever is later than the block containing .
By the monochromatic m-p-c set theorem, the coloring contains a monochromatic -set with generators . Define
If , then
so every lies in that one monochromatic M-p-c set. Moreover,
Thus is partition regular, proving Rado's theorem.
For the equation , a monochromatic solution in the last nonzero base- digit coloring would, at the least -adic valuation among , force a nonempty subset sum of to vanish modulo . The seven possible sums are
None is divisible by , so base gives no monochromatic solution. The smaller primes do admit solutions: works for base , whose coloring has one color, and is monochromatic in base . Hence the smallest prime is
For , use the last nonzero base- digit itself. The nonempty subset sums of are
none zero modulo . This is the required -coloring.
For a -coloring, identify each nonzero residue modulo with , giving the five colors
If a monochromatic solution existed, reduction at the least -adic valuation would give a signed nonempty subset sum of equal to zero modulo . Singles have absolute residues ; pairs have absolute residues ; and triples have absolute residues . None is zero modulo , which proves that this -coloring works.