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 2 of a(2) = 2, turning this integer into 1, an odd number;
2 is expelled from a(2) = 2 and hits the leftmost 1 of a(3) = 11, "turning" this integer into 11, an odd number;
1 is expelled from a(3) = 11 and hits the 3 of a(4) = 3, turning this integer into 1, an odd number;
3 is expelled from a(4) = 3 and hits the 4 of a(5) = 4, turning this integer into 3, an odd number;
4 is expelled from a(5) = 4 and hits the 1 of a(6) = 13, turning this integer into 43, an odd number;
1 is expelled from a(6) = 13 and hits the 5 of a(7) = 5, turning this integer into 1, an odd number; etc.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Feb 27 2022
STATUS
approved