login
A366946
Lexicographically earliest sequence of distinct terms > 0 such that any digit d jumping to the right over d digits lands on a square digit.
7
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, 20, 94, 21, 99, 43, 22, 100, 101, 24, 29, 30, 45, 46, 31, 34, 47, 48, 104, 92, 93, 109, 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
OFFSET
1,2
COMMENTS
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.
EXAMPLE
a(1) = 1 jumps over 1 digit and lands on 4, a square digit;
a(2) = 2 jumps over 2 digits and lands on 9, a square digit;
a(5) = 9 jumps over 9 digits and lands on the 1 of 19, a square digit;
a(6) = 5 jumps over 5 digits and lands on the 1 of 14, a square digit;
a(8) = 10: the 1 of 10 jumps over 1 digit and lands on the first 1 of 11, a square digit;
a(8) = 10: the 0 of 10 jumps over 0 digit and lands on the same square digit; etc.
KEYWORD
base,nonn
AUTHOR
STATUS
approved