Each prime number greater than $9$, written in base $10$, ends with one of the four digits $1,3,7,9$. Therefore, each ten can be classified according to which of these four digits, summed to the ten, yields to a prime number.
For example, for the first ten we have $1 \rightarrow \{1,3,7,9\}$. In fact, $10+1$, $10+3$, $10+7$ and $10+9$ are all primes. Conversely, for the twentieth ten the association reads $20 \rightarrow \{\}$, since there are no primes between $200$ and $209$.
It is easy to see that each ten is associated to one (and only one) group of symbols, chosen among the following $16$ distinct alternatives: $\{\}$, $\{1\}$, $\{3\}$, $\{7\}$, $\{9\}$, $\{1,3\}$, $\{1,7\}$, $\{1,9\}$, $\{3,7\}$, $\{3,9\}$, $\{7,9\}$, $\{1,3,7\}$, $\{1,3,9\}$, $\{1,7,9\}$, $\{3,7,9\}$, $\{1,3,7,9\}$.
For the sake of simplicity, we can identify each of these $16$ distinct groups of symbols with a single symbol, or with a single color, as illustrated below:
Each of these colors represents how many prime numbers there are in one ten (and which ones). In practice, we have just split the complexity of primes into tens and colors.
This allows us to rearrange the colors within the Pascal's triangle, by means of the associated ten, obtaining the following scheme (the numbers in the squares represent the tens):
The complexity of the primes sequence has been now split into rows, diagonals and colors.
An advantage of such representation is that it mixes groups of primes related to far tens, allowing maybe to identify patterns and/or to dig out connections among already known integer sequences. The clear disadvantage is that the patterns on this triangle depend on which base we use.
I partially introduced this representation of prime numbers here, but I am not sure whether these further developments overlap with some very well known technique (e.g. Sieve of Eratosthenes?).
In conclusion, just not to re-invent the wheel, my question is:
Do you know if such representation has been already devised? In that case, could you please give me some reference?
Sorry for naivety and incorrectness, and thank you very much for your suggestions and comments!
NOTE: The conjecture contained in the following EDIT is FALSE, and there is a mistake in the code! Please, if you have a good software to produce the picture, please tell me! Thanks! (Thanks also to Paul!)
EDIT: To reply to some comments, and adopting this somehow enhanced color code,
I produced the following plot (omitting the first ten)
I hope that there is not some mistake in my code! However,
It is conjectural that, for very big numbers, there cannot be colored squares other than on the outer edge of the triangle,
which means that, beyond a certain integer $N$, the primes will all fall in tens (powers of ten) that can be written in the form $t=\binom{n}{k}$, where $k$ is $2,3,4$ maximum. This may lead to interesting consequences, considering that this property should not change much according to the base, and primes are infinite.
As mentioned in the NOTE, this picture is actually incorrect. It should look like this:
Still working on it!





Unfortunately, your colors will become mostly red after a while, given that primes become exceedingly sparse.
– Alex R. Aug 28 '18 at 10:53So instead of highlighting primes, highlight the ten's with your gradations.
– Alex R. Aug 28 '18 at 18:30colors = Prepend[ColorData["DarkBands"] /@ (Range[0, 14]/14), White]; group[k_] := FromDigits[Boole[PrimeQ[10 k + {1, 3, 7, 9}]], 2] + 1; Table[colors[[group[Binomial[n, k]]]], {n, 1, 40}, {k, 1, n - 1}] // Grid– Paul Aug 28 '18 at 21:45