A chain reaction producing primes
Let's transform a sequence of integers into another one, where only prime terms are left.
This is done by expelling a digit from a(n) and sending it towards a(n+1); there, this "bullet" digit will replace (and expel in turn) a digit of a(n+2) towards a(n+3), and so on. After this "chain reaction" is completed, all "hit" terms will be prime.
As usual, we want the sequence S to be the lexicographically earliest one made of distinct integers > 0 with this property. If I'm not wrong (caveat!) S starts like this:
Explanation:
In yellow are the successive expelled digits – and we see after S the new sequence P of prime terms only:
S = 1, 10, 101, 103, 107, 109, 111, 11, 12, 2, 3, 4, 13, 14, 17, 15, 5, 6, 21, 7, 16, 27, 8, 19, 18, ...
P = . 11, 101, 103, 107, 109, 101, 11, 11, 2, 2, 3, 43, 11, 47, 11, 5, 5, 61, 2, 17, 67, 2, 89, 11, ...
S is not in the OEIS.
Commentaires
Enregistrer un commentaire