login
A366943
Lexicographically earliest sequence of distinct terms > 0 such that any digit d jumping to the right over d digits lands on a nonprime digit.
7
1, 2, 4, 3, 6, 5, 7, 8, 9, 10, 11, 14, 16, 18, 12, 13, 15, 19, 17, 40, 41, 20, 44, 21, 24, 46, 22, 48, 42, 49, 60, 61, 64, 26, 28, 66, 23, 68, 29, 69, 30, 43, 80, 81, 31, 34, 84, 86, 45, 47, 36, 88, 62, 38, 63, 89, 90, 91, 94, 39, 50, 65, 67, 82, 51, 96, 54, 98, 25, 99, 83, 56, 100, 101, 104, 27, 58, 85, 32
OFFSET
1,2
COMMENTS
Nonprime digits are 0, 1, 4, 6, 8 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 nonprime digit;
a(2) = 2 jumps over 2 digits and lands on 6, a nonprime digit;
a(5) = 6 jumps over 6 digits and lands on the first 1 of 11, a nonprime digit;
a(6) = 5 jumps over 5 digits and lands on the same nonprime digit;
a(10) = 10: the 1 of 10 jumps over 1 digit and lands on the same nonprime digit;
a(10) = 10: the 0 of 10 jumps over 0 digit and lands on the same nonprime digit;
a(11) = 11: the first 1 of 11 jumps over 1 digit and lands on the 1 of 14, a nonprime digit;
a(11) = 11: the last 1 of 11 jumps over 1 digit and lands on the 4 of 14, a nonprime digit; etc.
KEYWORD
base,nonn
AUTHOR
STATUS
approved