Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #11 Jun 08 2021 10:29:58
%S 0,2,13,4,3,5,6,8,7,9,10,14,19,15,17,20,22,24,26,28,30,16,25,18,29,23,
%T 34,27,38,33,35,37,39,40,42,44,46,48,50,36,45,43,49,47,54,53,55,57,59,
%U 60,62,64,66,68,70,56,65,58,69,63,74,67,78,73,75,77,79,80,82,84,86,88,90,76,85,83,89,87,94
%N Lexicographically earliest sequence S of distinct nonnegative terms such that the sum of the last k digits of S is even, k being the rightmost digit of a(n).
%C No term ends with 1.
%e a(1) = 0, k = 0, and the sum 0 is even;
%e a(2) = 2, k = 2, and the sum 0 + 2 (= 2) is even;
%e a(3) = 13, k = 3, and the sum 2 + 1 + 3 (= 6) is even;
%e a(4) = 4, k = 4, and the sum 2 + 1 + 3 + 4 (= 10) is even;
%e a(5) = 3, k = 3, and the sum 4 + 3 + 5 (= 12) is even;
%e a(6) = 5, k = 5, and the sum 1 + 3 + 4 + 3 + 5 (= 16) is even; etc.
%Y Cf. A344539 and A344541.
%K base,nonn
%O 1,2
%A _Eric Angelini_ and _Carole Dubois_, May 22 2021