[go: up one dir, main page]

login
A342047
When a digit d is prime, the next digit is < d.
6
0, 1, 2, 10, 3, 11, 4, 5, 12, 13, 14, 6, 7, 15, 16, 8, 9, 17, 18, 19, 20, 21, 30, 31, 32, 100, 40, 41, 42, 101, 43, 102, 103, 104, 44, 45, 46, 47, 48, 49, 50, 51, 52, 105, 106, 53, 107, 54, 60, 61, 62, 108, 63, 109, 64, 65, 110, 66, 67, 68, 69, 70, 71, 72, 111, 73, 112, 113, 114, 74, 75, 115, 116
OFFSET
1,3
COMMENTS
After a(1) = 0, the sequence is always extended with the smallest positive integer not yet present that doesn't lead to a contradiction.
LINKS
PROG
(PARI) See Links section.
CROSSREFS
Cf. A342042, A342043, A342044, A342045 and A342046 (variations on the same idea).
Sequence in context: A243992 A317549 A337321 * A239083 A239084 A322000
KEYWORD
base,nonn
AUTHOR
Eric Angelini, Feb 26 2021
STATUS
approved