%I #5 Oct 29 2023 22:04:32
%S 1,2,4,3,9,5,6,10,11,14,19,12,13,15,40,41,7,16,17,18,44,42,8,49,90,91,
%T 20,94,21,99,43,22,100,101,24,29,30,45,46,31,34,47,48,104,92,93,109,
%U 95,39,50,110,111,114,96,23,119,140,97,51,54,98,141,59,60,144,25,149,26,190,120,191,61,194,27,199,28
%N Lexicographically earliest sequence of distinct terms > 0 such that any digit d jumping to the right over d digits lands on a square digit.
%C The square digits are 0, 1, 4 and 9. This is not a permutation of the natural numbers as 102 and 103 cannot be part of the sequence, for instance.
%e a(1) = 1 jumps over 1 digit and lands on 4, a square digit;
%e a(2) = 2 jumps over 2 digits and lands on 9, a square digit;
%e a(5) = 9 jumps over 9 digits and lands on the 1 of 19, a square digit;
%e a(6) = 5 jumps over 5 digits and lands on the 1 of 14, a square digit;
%e a(8) = 10: the 1 of 10 jumps over 1 digit and lands on the first 1 of 11, a square digit;
%e a(8) = 10: the 0 of 10 jumps over 0 digit and lands on the same square digit; etc.
%Y Cf. A366838, A366943, A366944, A366945, A366947, A366948, A366949.
%K base,nonn
%O 1,2
%A _Eric Angelini_ and _Giorgos Kalogeropoulos_, Oct 29 2023