cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A337918 Rearrangement of natural numbers so that next n numbers contain n as substring.

This page as a plain text file.
%I A337918 #14 Jan 31 2021 20:27:47
%S A337918 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,
%T A337918 47,57,67,8,18,28,38,48,58,68,78,9,19,29,39,49,59,69,79,89,10,100,101,
%U A337918 102,103,104,105,106,107,108,11,110,111,112,113,114,115,116,117,118,119
%N A337918 Rearrangement of natural numbers so that next n numbers contain n as substring.
%C A337918 This sequence combines features of A072484 and of A075383.
%C A337918 This sequence first differ from A075383 for n = 67: a(67) = 120 whereas A075383(67) = 12.
%C A337918 This sequence is a permutation of the natural numbers with inverse A337919.
%H A337918 Rémy Sigrist, <a href="/A337918/b337918.txt">Table of n, a(n) for n = 1..10011</a>
%H A337918 Rémy Sigrist, <a href="/A337918/a337918.pl.txt">Perl program for A337918</a>
%H A337918 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A337918 As a triangle, the first rows are:
%e A337918      1: 1
%e A337918      2: 2, 12
%e A337918      3: 3, 13, 23
%e A337918      4: 4, 14, 24, 34
%e A337918      5: 5, 15, 25, 35, 45
%e A337918      6: 6, 16, 26, 36, 46, 56
%e A337918      7: 7, 17, 27, 37, 47, 57, 67
%e A337918      8: 8, 18, 28, 38, 48, 58, 68, 78
%e A337918      9: 9, 19, 29, 39, 49, 59, 69, 79, 89
%e A337918     10: 10, 100, 101, 102, 103, 104, 105, 106, 107, 108
%e A337918     11: 11, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119
%e A337918     12: 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 212, 312
%o A337918 (Perl) See Links section.
%Y A337918 Cf. A072484, A075383, A337919 (inverse).
%K A337918 nonn,base,tabl,look
%O A337918 1,2
%A A337918 _Rémy Sigrist_, Jan 29 2021