OFFSET
1,2
COMMENTS
The sequence is a permutation of the positive integers.
LINKS
Eric Angelini, A chain reaction producing primes, personal blog of the author, Feb. 2022.
EXAMPLE
1 is expelled from a(1) = 1 and hits the 0 of a(2) = 10, turning this integer into 11, a prime;
0 is expelled from a(2) = 10 and hits the 0 of a(3) = 101, leaving this prime unchanged;
0 is expelled from a(3) = 101 and hits the 0 of a(4) = 103, leaving this prime unchanged;
0 is expelled from a(4) = 103 and hits the 0 of a(5) = 107, leaving this prime unchanged;
0 is expelled from a(5) = 107 and hits the 0 of a(6) = 109, leaving this prime unchanged;
0 is expelled from a(6) = 109 and hits the middle 1 of a(7) = 111, turning this integer into 101, a prime;
1 is expelled from a(7) = 111 and hits one 1 of a(8) = 11, leaving this prime unchanged;
1 is expelled from a(8) = 11 and hits the 2 of a(9) = 12, turning this integer into 11, a prime;
2 is expelled from a(9) = 12 and hits the 2 of a(10) = 2, leaving this prime unchanged; etc.
From Jon E. Schoenfield, Mar 01 2022: (Start)
The chain reaction is depicted in the chart below:
.
| Step | Step | Step | Step | Step | Step | Step | Step | Step | Step |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| | | | | | | | | | |
| : | | | | | | | | | |
| 1 | | | | | | | | | |
| 10 | 11 | 11 | 11 | 11 | 11 | 11 | 11 | 11 | 11 |
| | 0 | | | | | | | | |
| 101 | 101 | 101 | 101 | 101 | 101 | 101 | 101 | 101 | 101 |
| | | 0 | | | | | | | |
| 103 | 103 | 103 | 103 | 103 | 103 | 103 | 103 | 103 | 103 |
| | | | 0 | | | | | | |
| 107 | 107 | 107 | 107 | 107 | 107 | 107 | 107 | 107 | 107 |
| | | | | 0 | | | | | |
| 109 | 109 | 109 | 109 | 109 | 109 | 109 | 109 | 109 | 109 |
| | | | | | 0 | | | | |
| 111 | 111 | 111 | 111 | 111 | 111 | 101 | 101 | 101 | 101 |
| | | | | | | 1 | | | |
| 11 | 11 | 11 | 11 | 11 | 11 | 11 | 11 | 11 | 11 |
| | | | | | | | 1 | | |
| 12 | 12 | 12 | 12 | 12 | 12 | 12 | 12 | 11 | 11 |
| | | | | | | | | 2 | |
| 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
(End)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 27 2022
STATUS
approved