Previous post: The Sieve of Eratosthenes - Backing Up
To continue examining the data sets formed by the 'Sieve of Eratosthenes', let's look at some definitions for the sieve sets and remainder sets. Refer to the previous post for an explanation of the process and for examples of the sets, The Sieve of Eratosthenes - Backing Up.
Reviewing the 'Sieve of Eratosthenes'
Let's define the process a little better and define the resultant sets of numbers from each iteration of the process.
1. The starting point is the entire set of all natural numbers.
2. On the first iteration we sieve out all the numbers that are divisible by the prime number 2.
This produces the first sieve set soe2, and the first remainder set soe2_rem.
The soe2 set contains all numbers that have a smallest common prime factor of 2.
The soe2_rem set contains all numbers not having any factor of the prime number 2.
The soe2_rem set only has numbers with factors of prime numbers 3 and greater.
3. On the second iteration we are only working with the soe2_rem set.
From the soe2_rem set we sieve out all numbers that are divisible by the prime number 3.
This produces the second sieve set soe3, and the second remainder set soe3_rem.
The soe3 set contains all numbers that have a smallest common prime factor of 3.
The soe3_rem set contains all numbers not having any factors of the prime numbers 2, 3.
The soe3_rem set only has numbers with factors of prime numbers 5 and greater.
4. On the third iteration we are only working with the soe3_rem set.
From the soe3_rem set we sieve out all numbers that are divisible by the prime number 5.
This produces the third sieve set soe5, and the third remainder set soe5_rem.
The soe5 set contains all numbers that have a smallest common prime factor of 5.
The soe5_rem set contains all numbers not having any factors of the prime numbers 2, 3, 5.
The soe5_rem set only has numbers with factors of prime numbers 7 and greater.
5. On the fourth iteration we are only working with the soe5_rem set.
From the soe5_rem set we sieve out all numbers that are divisible by the prime number 7.
This produces the fourth sieve set soe7, and the fourth remainder set soe7_rem.
The soe7 set contains all numbers that have a smallest common prime factor of 7.
The soe7_rem set contains all numbers not having any factors of the prime numbers 2, 3, 5, 7.
The soe7_rem set only has numbers with factors of prime numbers 11 and greater.
We continue this iterative process for each prime number.
Sieve of Eratosthenes set definitions:
For each P (prime),
Each soe set can be defined as:
The subset of all natural numbers that have a smallest common prime factor of P.
Each soe_rem set can be defined as:
The subset of all natural numbers that only contains the number 1 and the natural numbers with prime factors greater than the prime number P.
Factorization Model for the 'Sieve of Eratosthenes' sets and remainder sets:
To get to our conclusion that the infinite series of all natural numbers has an equality with an infinite product where each term of the infinite product is a prime geometric series we need to look at factorization and the model for representing any natural number (positive integer) as an infinite product. For this we can refer to Wiki, Canonical representation of a positive integer.
Any positive integer can be uniquely represented as an infinite product taken over all the positive prime numbers, aswhere a finite number of the ni are positive integers, and the others are zero.
Imagine if you can, going to a web page where you could create any natural number. The web page would have a form with the prime numbers and a drop down for each exponent value. The page would have infinite width to accommodate all the prime numbers and the dropdowns for each exponent selection would include every infinite positive integer and also 0. In fact let's create an abbreviated version of what that would look like, except instead of a dropdown for the choice of an exponent for each prime number, let's just show the selections themselves. This is of course an abbreviated version for demonstration purposes.
You have to imagine a column for every prime number and a row for continuing every integer exponent for each prime number.
You have to imagine a column for every prime number and a row for continuing every integer exponent for each prime number.
20 | 30 | 50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 |
21 | 31 | 51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 |
22 | 32 | 52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 |
23 | 33 | 53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 |
24 | 34 | 54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 |
25 | 35 | 55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 |
26 | 36 | 56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 |
27 | 37 | 57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 |
28 | 38 | 58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 |
29 | 39 | 59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
With this you can actually select the prime number with its exponent value. You must select a prime number with its exponent value for each and every prime number, (make one selection from each column), then push a button to create the number and you have your number.
Factorization of the soe2 and soe2_rem sets:
Now let's change it up a bit and see what would happen if I restricted your choice of exponents for the prime number 2.
If I restricted the choice of exponents for the prime number 2, so that you can only select 20, what numbers could you create?
20 | 30 | 50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 |
31 | 51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 | |
32 | 52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 | |
33 | 53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 | |
34 | 54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 | |
35 | 55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 | |
36 | 56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 | |
37 | 57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 | |
38 | 58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 | |
39 | 59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
The only numbers you could create are the odds, the soe2_rem set.
The subset of all natural numbers that only contains numbers with prime factors greater than the prime number 2, with the exception that the number 1 is always in the remainder set.
( 1, 3, 5, 7, 9, 11,... )
If I then changed that up and restricted the choice of exponents for the prime number 2, so that you can only select integer powers of 2 and you could never select 20, what numbers could you create?
30 | 50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 | |
21 | 31 | 51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 |
22 | 32 | 52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 |
23 | 33 | 53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 |
24 | 34 | 54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 |
25 | 35 | 55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 |
26 | 36 | 56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 |
27 | 37 | 57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 |
28 | 38 | 58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 |
29 | 39 | 59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
Now you could not create any odd numbers, the only numbers you could create are the evens, the soe2 set.
The subset of all natural numbers that have a smallest common prime factor of 2.
( 2, 4, 6, 8, 10, 12,... )
But what is this telling us?
The subset of all natural numbers that have a smallest common prime factor of 2.
( 2, 4, 6, 8, 10, 12,... )
But what is this telling us?
It is telling us this, the evens are composed exactly of each power of 2 times the odds.
This directly implies that the evens (the soe2 set) is equal to the 2 geometric series times the odds (the soe2_rem set). We should literally be able to write the infinite series of all evens as equal to the product of the 2 geometric series times the infinite series of the odds and this should preserve every term of the infinite series of evens:
This allows us to write the following equation:
We can reorder the infinite series on the right hand side, to be the soe2 infinite subseries (the evens) + the soe2_rem infinite subseries (the odds).
Since we know from our factorization model that the soe2 infinite subseries (the evens) is just the prime number 2 geometric series times the soe2_rem infinite subseries (the odds), we can write the right hand side of our equation as:
Notice we have added the term 20, to the first term of the product on the right hand side. This preserves all of the terms that are the odds from the infinite series expression on the right hand side of equation
And all of the terms that are the integer powers of 2, in the first term of the product on the right hand side produces all of the evens from the infinite series expression on the right hand side of equation
If we substitute for the variable x in equation with the value of x from equation , we get the following:
Since the second term of the product on the right hand side of equation is the odds (the soe2_rem set as an infinite series), we can examine the factorization of that expression.
The soe2_rem set (odds) factorization model.
The subset of all natural numbers that only contains numbers with prime factors greater than the prime number 2, with the exception that the number 1 is always in the remainder set.
The subset of all natural numbers that only contains numbers with prime factors greater than the prime number 2, with the exception that the number 1 is always in the remainder set.
Factorization of the soe2_rem set (the odds) into the soe3 and soe3_rem sets:
Once again you have to imagine a column for every prime number greater than 2 and a row for continuing every integer exponent for each prime number.
The below table can create all of the natural numbers representing the soe2_rem set (odds).
The below table can create all of the natural numbers representing the soe2_rem set (odds).
30 | 50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 |
31 | 51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 |
32 | 52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 |
33 | 53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 |
34 | 54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 |
35 | 55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 |
36 | 56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 |
37 | 57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 |
38 | 58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 |
39 | 59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
Once again you must select a prime number with its exponent value for each and every prime number, (make one selection from each column), then push a button to create the number and you have your number.
Let's change it up a bit and see what would happen if I restricted your choice of exponents for the prime number 3.
If I restricted the choice of exponents for the prime number 3, so that you can only select 30, what numbers could you create?
30 | 50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 |
51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 | |
52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 | |
53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 | |
54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 | |
55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 | |
56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 | |
57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 | |
58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 | |
59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
The only numbers you could create are numbers in the soe3_rem set.
The subset of all natural numbers that only contains numbers with prime factors greater than the prime number 3, with the exception that the number 1 is always in the remainder set.
( 1, 5, 7, 11, 13, 17,... )
If I then changed that up and restricted the choice of exponents for the prime number 3, so that you can only select integer powers of 3 and you could never select 30, what numbers could you create?
50 | 70 | 110 | 130 | 170 | 190 | 230 | 290 | |
31 | 51 | 71 | 111 | 131 | 171 | 191 | 231 | 291 |
32 | 52 | 72 | 112 | 132 | 172 | 192 | 232 | 292 |
33 | 53 | 73 | 113 | 133 | 173 | 193 | 233 | 293 |
34 | 54 | 74 | 114 | 134 | 174 | 194 | 234 | 294 |
35 | 55 | 75 | 115 | 135 | 175 | 195 | 235 | 295 |
36 | 56 | 76 | 116 | 136 | 176 | 196 | 236 | 296 |
37 | 57 | 77 | 117 | 137 | 177 | 197 | 237 | 297 |
38 | 58 | 78 | 118 | 138 | 178 | 198 | 238 | 298 |
39 | 59 | 79 | 119 | 139 | 179 | 199 | 239 | 299 |
Now you could not create any numbers of the soe3_rem set, the only numbers you could create are numbers of the soe3 set.
The subset of all natural numbers that have a smallest common prime factor of 3.
( 3, 9, 15, 21, 27, 33, 39,... )
But what is this telling us?
The subset of all natural numbers that have a smallest common prime factor of 3.
( 3, 9, 15, 21, 27, 33, 39,... )
But what is this telling us?
It is telling us this, the numbers of the soe3 set are composed exactly of each power of 3 times the numbers of the soe3_rem set.
This directly implies that the soe3 set is equal to the 3 geometric series times the soe3_rem set. We should literally be able to write the infinite series of all numbers of the soe3 set as equal to the product of the 3 geometric series times the infinite series of the soe3_rem set and this should preserve every term of the infinite series of the soe3 set:
Since we are examining the factorization of the soe2_rem set (the odds) into the soe3 and soe3_rem set, the above equation only accounts for the soe3 set and is missing the soe3_rem set. Working with the entire soe2_rem set (odds) as a series, we can write:
Re-order the terms of the soe2_rem series (odds) into the soe3 subseries plus the soe3_rem subseries:
Re-write the right hand side of the equation into a product, the 3 geometric series times the soe3_rem subseries.
You will notice in the product on the right hand side of the above equation, we have included 30 as the first term of the 3 geometric series. This maintains all of the terms of the soe3_rem subseries and then the integer powers of the 3 geometric series maintains all of the terms of the soe3 subseries, the entirety of which is equal to the soe2_rem (odds) series on the left hand side of the equation.
Re-order the terms of the soe2_rem series (odds) into the soe3 subseries plus the soe3_rem subseries:
We can now return to equation , where the second term of the product on the right hand side is the soe2_rem (odds) subseries, and re-write that subseries into the right hand side of the equation we just derived above.
Equation 3:
Equation 3:
Re-writing the second term of the product on the right hand side (soe2_rem subseries) into a product.
Where is this all going:
If we continue to recursively examine the factorization of each 'Sieve of Eratosthenes' set and remainder set, we will see that each soe set and soe_rem set have a similar relationship as follows:
Each soe set factor wise, is simply that prime number's geometric series times the soe_rem set (remainder set), expressed as a series.
So we can add to our 'Sieve of Eratosthenes' definitions.
If we continue to recursively examine the factorization of each 'Sieve of Eratosthenes' set and remainder set, we will see that each soe set and soe_rem set have a similar relationship as follows:
Each soe set factor wise, is simply that prime number's geometric series times the soe_rem set (remainder set), expressed as a series.
So we can add to our 'Sieve of Eratosthenes' definitions.
Sieve of Eratosthenes set definitions:
For each P (prime),
Each soe set can be defined as:
The subset of all natural numbers that have a smallest common prime factor of P.
Each soe_rem set can be defined as:
The subset of all natural numbers that only contains the number 1 and the natural numbers with prime factors greater than the prime number P.
Each soe set can be expressed as a product:
Where the first term is the prime number P's geometric series with positive integer exponents and the second term is the infinite series of all of the elements of the soe_rem set.
Where the first term is the prime number P's geometric series with positive integer exponents and the second term is the infinite series of all of the elements of the soe_rem set.
Or speaking purely in the context of series, the infinite series of all natural numbers:
For each P (prime),
Each soe subseries can be defined as:
The subseries of all natural numbers that have a smallest common prime factor of P.
Each soe_rem subseries can be defined as:
The subseries of all natural numbers that only contains one and the natural numbers with prime factors greater than the prime number P.
Each soe subseries can be expressed as a product:
Where the first term of the product is the prime number P's geometric series with positive integer exponents, and the second term of the product is the infinite subseries of all natural numbers that only contains one and the natural numbers with prime factors greater than the prime number P. (This is the property that we are concerned with for the 'Sieve of Eratosthenes'.)
Where the first term of the product is the prime number P's geometric series with positive integer exponents, and the second term of the product is the infinite subseries of all natural numbers that only contains one and the natural numbers with prime factors greater than the prime number P. (This is the property that we are concerned with for the 'Sieve of Eratosthenes'.)
With the definition of this new property of the 'Sieve of Eratosthenes', we can use the following logic to pursue the equality we are looking for, namely 'the infinite series of all natural numbers has an equality as an infinite product of prime geometric series'.
The 'Sieve of Eratosthenes' performed on the infinite series of all natural numbers:
Sieving pass for the prime number 2.
We can reorder the infinite series on the right hand side, to be the soe2 infinite subseries (the evens) + the soe2_rem infinite subseries (the odds).
We can reorder the infinite series on the right hand side, to be the soe2 infinite subseries (the evens) + the soe2_rem infinite subseries (the odds).
Since each soe subseries can be expressed as a product of the prime number's geometric series times the soe remainder subseries, we can write.
Sieving pass for the prime number 3.
We can re-order the terms of the last term of the product on the right hand side, sieving by the next prime number, 3.
This gives us an soe3 subseries and an soe3_rem subseries.
Since each soe subseries can be expressed as a product of the prime number's geometric series times the soe remainder subseries, we can write.
Sieving pass for the prime number 5.
We can re-order the terms of the last term of the product on the right hand side, sieving by the next prime number, 5.
This gives us an soe5 subseries and an soe5_rem subseries.
Since each soe subseries can be expressed as a product of the prime number's geometric series times the soe remainder subseries, we can write.
Sieving pass for the prime number 7.
We can re-order the terms of the last term of the product on the right hand side, sieving by the next prime number, 7.
This gives us an soe7 subseries and an soe7_rem subseries.
Since each soe subseries can be expressed as a product of the prime number's geometric series times the soe remainder subseries, we can write.
This process can be continued for every prime number and the result is:
Substituting for the value of x in equation
The infinite series of all natural numbers has an equality as an infinite product of prime geometric series:
Summarizing the 'Sieve of Eratosthenes' Process
This 'Sieve of Eratosthenes' Process can be applied to the natural numbers, the inverse natural numbers, and the rational numbers.
In the inverse natural numbers, the sieving process is the same, except we are working with 0 and negative integer exponent values. We even see the 'Sieve of Eratosthenes' sets and remainder sets employed in Euler's Theorem 7, Euler's infinite product over the primes.
In the rational numbers, the sieving process is the same, except that we need to sieve in both the numerator and denominator for each iteration, and the prime geometric series then includes exponents 0, positive integers, and negative integers. The property where each soe subseries can be expressed as a product of the prime number's geometric series times the soe remainder subseries is also true in the rationals.
Example: The first iteration of sieving all rationals, we would sieve all rational numbers with a factor of 2 in the numerator or the denominator and our remainder set would then have only rational numbers with prime factors of 3 or greater in the numerator or denominator. From that first remainder set then we would sieve out all rational numbers with a factor of 3 in the numerator or denominator and the new remainder set would then have only rational numbers with prime factors of 5 or greater in the numerator or denominator. I can provide an additional post to step through this is needed.
In the inverse natural numbers the prime geometric series is convergent and we have an algebraic solution to prove that the series of inverse natural numbers has an equality as an infinite product of prime geometric series, à la Euler's infinite product over the primes. This however does not mean that the natural numbers and rational numbers do not have the same type of equality, it is just that the prime geometric series in the naturals and the rationals are not convergent and this prevents them from having an algebraic solution similar to Euler's Theorem 7.