OFFSET
1,2
COMMENTS
The sequence is started with a(1) = 0 and always extended with the smallest integer not yet present and not leading to a contradiction. If two successive digits are equal (e.g., 2,2) we accept that there is a "larger one" (2).
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..10001
EXAMPLE
In the 1st pair of integers (0,2) the larger term is (2), which is even;
in the 2nd pair of integers (2,1) the larger term is (2), which is even;
in the 3rd pair of integers (1,4) the larger term is (4), which is even;
in the 4th pair of integers (4,3) the larger term is (4), which is even;
...
in the 9th pair of integers (7,80) the larger term is (80), which is even;
in the 10th pair of integers (80,20) the larger term is (80), which is even;
in the 11th pair of integers (20,22) the larger term is (22), which is even; etc.
In the 1st pair of digits (0,2) the larger digit is (2), which is even;
in the 2nd pair of digits (2,1) the larger digit is (2), which is even;
in the 3rd pair of digits (1,4) the larger digit is (4), which is even;
in the 4th pair of digits (4,3) the larger digit is (4), which is even;
...
in the 9th pair of digits (7,8) the larger digit is (8), which is even;
in the 10th pair of digits (8,0) the larger digit is (8), which is even;
in the 11th pair of digits (0,2) the larger digit is (2), which is even; etc.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Feb 20 2017
STATUS
approved