OFFSET
1,2
COMMENTS
The sequence is a permutation of the integers > 0.
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 1 of a(2) = 10, "turning" this integer into 10, an even number;
1 is expelled from a(2) = 10 and hits the 1 of a(3) = 12, "turning" this integer into 12, an even number;
1 is expelled from a(3) = 12 and hits the 1 of a(4) = 14, "turning" this integer into 14, an even number;
1 is expelled from a(4) = 14 and hits the 1 of a(5) = 16, "turning" this integer into 16, an even number;
1 is expelled from a(5) = 16 and hits the 1 of a(6) = 18, "turning" this integer into 18, an even number;
1 is expelled from a(6) = 18 and hits the 2 of a(7) = 20, turning this integer into 10, an even number;
2 is expelled from a(7) = 20 and hits the 2 of a(8) = 2, "turning" this integer into 2, an even number;
2 is expelled from a(8) = 2 and hits the 3 of a(9) = 3, turning this integer into 2, an even number;
3 is expelled from a(9) = 3 and hits the leftmost 2 of a(10) = 22, turning this integer into 32, an even number; etc.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini ansd Carole Dubois, Feb 27 2022
STATUS
approved