A337918 Rearrangement of natural numbers so that next n numbers contain n as substring.
1, 2, 12, 3, 13, 23, 4, 14, 24, 34, 5, 15, 25, 35, 45, 6, 16, 26, 36, 46, 56, 7, 17, 27, 37, 47, 57, 67, 8, 18, 28, 38, 48, 58, 68, 78, 9, 19, 29, 39, 49, 59, 69, 79, 89, 10, 100, 101, 102, 103, 104, 105, 106, 107, 108, 11, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119
Offset: 1
Examples
As a triangle, the first rows are: 1: 1 2: 2, 12 3: 3, 13, 23 4: 4, 14, 24, 34 5: 5, 15, 25, 35, 45 6: 6, 16, 26, 36, 46, 56 7: 7, 17, 27, 37, 47, 57, 67 8: 8, 18, 28, 38, 48, 58, 68, 78 9: 9, 19, 29, 39, 49, 59, 69, 79, 89 10: 10, 100, 101, 102, 103, 104, 105, 106, 107, 108 11: 11, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119 12: 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 212, 312
Links
Programs
-
Perl
See Links section.
Comments