A317548 Lexicographically first sequence of different terms, starting with a(1) = 0 and showing a 1-step roller coaster of digits (see the Comments section).
0, 2, 1, 3, 12, 13, 14, 15, 4, 5, 16, 17, 6, 7, 18, 19, 8, 9, 23, 24, 25, 26, 27, 28, 29, 34, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49, 56, 57, 58, 59, 67, 68, 69, 78, 79, 89, 120, 10, 20, 21, 30, 31, 32, 40, 41, 42, 43, 50, 51, 52, 53, 54, 60, 61, 62, 63, 64, 65, 70, 71, 72, 73, 74, 75, 76, 80, 81, 82, 83, 84, 85, 86, 87, 90, 91
Offset: 1
Examples
The sequence starts with 0,2,1,3,12,13,14,15,4,5,16... and indeed the digits form a kind of 1-step roller-coaster 0 < 2 > 1 < 3 > 1 < 2 > 1 < 3 > 1 < 4 > 1 < 4...
Links
- Jean-Marc Falcoz, Table of n, a(n) for n = 1..15002
Comments