This work is licensed by its author, Gary William Croft, under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

The Magic Mirror Matrix, discovered in June of 2012, is a "geoarithmetric" object that maps a dense compaction of perfectly balanced bi-lateral symmetries expressed at the digital root level. Fundamentally, the matrix serves as a calculatory geometry that factorizes and accounts for all prime numbers ≥ 7.

The matrix is rooted in the first 24 elements from the set of natural numbers not divisible by 2, 3 and 5, which starts with 1 and ends with 89. When these 24 elements are factorized sequentially against themselves and the products are converted to digital roots, e.g., 7 x 7 = 49 = 4 + 9 = 13 = 1 + 3 = dr(4), the Magic Mirror Matrix results. You might call this a Vedic Square on steroids (and in fact, as we shall demonstrate below, the Magic Mirror Matrix and the Vedic Square have a deep, organic affinity).

This matrix, aside from serving as a digital root calculator and possessing origin (aka reflectional) symmetry (rotate the matrix 180 degrees and the original sequence is reflected mirror-like), and aside from the fact that *every* diagonal is palindromic and that *every* row and column sums to 108 and possesses 12 bi-lateral sums totaling 9, and that the {1,4,7} and {2,5,8} members of the so-called "Trinity of Triangles" (see below) parse along the principal diagonals, which together have their own dance of bi-lateral 9's, and aside from its deep connection to the Vedic Square, this matrix represents the set of factorizations that result in the *first 1000 prime numbers* (and we mean *exactly 1000*). In fact, as we've already suggested, this geometry–when its sequences spiral deterministically to infinity–accounts for the
factorizations of *all* composite numbers in the set of natural numbers not divisible by 2, 3 and 5, leaving *all*
prime numbers ≥ 7. These factorizations are derived from the 8-dimensional Prime Spiral Sieve methodology.

This object was conceived after studying the infinitely repeating digital root sequences involving the Trinity of Triangles derived from a 9-pointed star: {1,4,7}, {2,5,8} and {3,6,9} and its related Trinity of Magic Squares, within which are embedded triangular rotation sequences:

These triangulations work together to sequence factorization algorithms linked to the first 24 elements in the set of natural numbers not divisible by 2, 3 and 5, i.e., they transform within repeating modulo 30, 60 and 90 {3,6,9} divisions (modulo 30 possesses 8 root elements, modulo 60 has 16 and modulo 90 has 24). The algorithms discussed here, part and parcel to the Prime Spiral Sieve are described in detail at www.primesdemystified.com/Factorization.

To best appreciate the symmetry, rotate the matrix 90 degrees either clockwise or counter-clockwise so that the
corner-to-corner diagonals form a cross. When you do so, the two perfect symmetries that reflect those diagonals will become readily apparent,
demonstrating symbolically the perfectly balanced yin-yang relationship between the {1,4,7} and {2,5,8} members of the Trinity of Triangles
(and we should note here that the squares of all members of this set have digital roots of either 1, 4 or 7, and in fact this is true of *all*
prime numbers except 3). Why is 3 distinct in this regard? It's consistent with the fact that 3 and its multiples {3,6,9 ...} account for
*structure* in our domain, within which the {1,4,7} and {2,5,8} triangles interact in a spiraling algorithmic dance. For example,
the Magic Mirror Matrix pictured above (think of it as a module with sub-modules, or, if you will, a modulo with sub-modulos) has 9 modulo
30 divisions that cascade in three rows of three to complete a modulo 90 cycle, viz. {3,6,9}. Less obvious, but even more telling in this
regard, are the {3,6,9} structural relationships revealed when the line elements of the four right-angled Isosceles Triangles created by
the two principal diagonals are summed and digitally rooted, as illustrated, below:

As noted previously, another interesting aspect of the Magic Mirror Matrix is that it has a deep affinity with the Vedic Square. Namely, if you hi-lite the principal diagonals in each of its 9 modulo 30 partitions, as shown below, you'll see that a square containing 4 elements is created at each of their intersections. When these 9 squares are combined and segregated to create a 6 x 6 (36 element) square, and this square is compared to the Vedic Square minus its 3's, 6's and 9's (the result dubbed "Imaginary Square"), you'll discover that they share identical vertical and horizontal secquences, though in a different order (alternating +2 and -2 from each other), and that these can be easily made to match exactly by applying a simple function multiplier, as described and illustrated later below.

This graphic illustrates how the Imaginary Square is distilled from the Vedic Square (aka Digital Root Multiplication Table):

Next we show the Magic Mirror Matrix with the principal diagonals of its 9 modulo 30 divisions hi-lited, followed by the 6 x 6 square derived from the
9 diagonal intersection squares described above, followed for comparison by the "Imaginary Square," described above (and in
greater detail) elsewhere on this site:

As mentioned above, the column sequencing of these two "kissin' cousin" squares share the same six sequences, though in a different order, and can be 'transformed'
to match *exactly* by simply applying a multipler: To convert the column order of the 9-square extrapolation derived from the Magic Mirror Matrix to exactly
match the 'Imaginary Square', multiply all digital root elements x dr(4) = dr(n). To reverse the process, multiply the 'Imaginary Square' x dr(7) = dr(n):

Now, if you construct a 4 x 4 square from 16 Imaginary Squares, lo and behold you create a matrix that serves as a digital root calculator, possesses origin
symmetry, has palindromic diagonals and all of its rows and columns sum to 108 and possess 12 bi-lateral sums totaling 9, and the {1,4,7} and {2,5,8} members
of the Trinity of Triangles parse along the principal diagonals, which together have their own dance of bi-lateral 9's ... Sound familiar?

Here it is:

Before leaving this subject, it's worth noting that 89, the 24th element in the set of natural numbers not divisible by 2, 3 and 5, and the last
(i.e., 24^{th}) element factored in the Magic Mirror Matrix, has other titillating attributes:

– it's the 24th prime number;

– it's the 11th Fibonacci number (11 + 89 = 100 and, interestingly, 11 in a mod 90 circle has a radius of 44° and the reciprocal of 89 has 44 digits);

– it's the 5th Fibonacci prime;

– it is 10

^{2}-10 -1;– as stated previously, the number of prime numbers between 1 and 89

^{2}(7921) is exactly 1000 [and for the record, there are exactly 111,000 primes between (360x2-1)^{2}and (360x4-1)^{2}, i.e., between 719^{2}and 1439^{2}; both 719 & 1439 are prime and both are ≡ 89 (modulo 90); also, the number of primes between 89^{2}(7921) and 389^{2}(151321) is exactly 12960, and (12960/360)*10 = 360, while 12960/30 = 432, a number possessing special significance, as we discuss above and on our page dedicated to twin primes.]– it's the smallest positive integer (and prime, for that matter) whose square and cube are both prime when their digits are reversed;

– the decimal expansion of its reciprocal, which is based on the Fibonacci sequence, is exactly the same as the decimal expansion of the Fibonacci number it is indexed to divided by 89;

– it's the smallest composite-digit prime and smallest circular prime;

– 9+8+7+6+5+4+3+2+1+2+3+4+5+6+7+8+9 = 89;

– 89 and its reversal require the most reversals and additions to become palindromic (steps required = 24; there's that number again!);

– astoundingly, given there are precisely 1000 prime numbers between 1 and 89

^{2}: (89 x 91) - (89 + 91) = 7919, which happens to be the 1000th prime number;– as already stated, the period (aka decimal expansion) of its reciprocal is propagated by the Fibonacci sequence, as illustrated here; and, no doubt related;

– the decimal expansion of 89's reciprocal has 22 numerical reductions totaling 9 each to create perfect cascading symmetry, not to mention the center midpoint (between the 22nd & 23rd digits) splits number 89:

Another way to present this assembly line of 9's is to add the first 22 digits of 89's decimal expansion to its last 22 digits, like this:

Also note that number 109, also a prime number, has properties in its decimal expansion similar to 89's. For more information about the numbers 89 and 109, or for that matter any specific prime number you'd like to check out, an excellent source on the internet is Prime Curios. The mathematical relationship between these two numbers is explored on our page devoted to twin primes where you'll learn that [89,109] are 'Fibonacci Twins'.

[Note: There's one more dimension of this matrix that will no doubt be received as speculation of the bubble-off-center kind, but consider this: The four perimeter sequences of digital roots used to factorize the Magic Mirror Matrix equal 4 x 108 = 432. It turns out 432 is a number possessing great import. For example, 432 has been declared by mystics and scientists alike to be the "frequency of the universe" to which the "music of the spheres" is tuned. When we find a connection between primes 89 and 109 (both possessing the basis of the Fibonacci sequence in the decimal expansions of their reciprocals) and their twin prime candidates to 360 vis-a-vis 432, we are intrigued. But when we discover that the sum of digital roots of the 96 elements in the set of natural numbers not divisible by 2, 3 and 5 between zero and 360 = 432, not to mention the sum of the digital roots of the Fibonacci numbers and Lucas numbers indexed to these 96 elements also equal 432, we are astounded (In fact, if you expand the Magic Mirror Matrix to 'encompass' the digital roots of the first 96 elements of our domain, making 359 the higest number factorized, all columns and rows equal 432. And, by the way, the values of the 96 elements themselves sum to 1080 = 3 x 360.). And then there's this: The first 89 digits to the right of the decimal point in pi (.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482) sum to 432. Is this a coincidence? Or is it a clue that there might be hidden order in pi's decimialization after all ... ?. We detail other interesting aspects of 432 in relation to prime numbers in 360° cycles in our discussion of twin primes. So does one dare entertain the possibility that the Magic Mirror Matrix is a geoarithmetric representation of the frequency of the cosmos ... without being relegated to the lunatic fringe? It makes sense that prime number factorization / sequencing would be at its heart, and that the first rotation, when the matrix is viewed as a modulo 90 factorization spiral, represents the first 1000 prime numbers. Don't laugh. As a philosopher or 'action scientist' might say, be open to discomfirmability.]