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.

Showing 1-2 of 2 results.

A329127 Lexicographically earliest sequence of distinct positive integers such that the concatenation of the odd-indexed terms equals the concatenation of the even-indexed terms.

Original entry on oeis.org

1, 11, 12, 2, 3, 31, 13, 32, 21, 14, 4, 5, 51, 15, 52, 22, 23, 33, 34, 41, 16, 6, 7, 71, 17, 72, 24, 42, 25, 53, 35, 54, 43, 36, 61, 18, 8, 9, 91, 19, 92, 26, 62, 27, 73, 37, 74, 44, 45, 55, 56, 63, 38, 81, 110, 10, 20, 201, 111, 112, 28, 82, 29, 93, 39, 94
Offset: 1

Views

Author

Rémy Sigrist, Nov 05 2019

Keywords

Comments

Leading zeros are ignored.

Examples

			The first terms of the odd and even bisections are:
    +------+-+---+-+---+---+-+---+---+---+---+---+-+---+---+---+---+---+---+
    | odd  |1|1 2|3|1 3|2 1|4|5 1|5 2|2 3|3 4|1 6|7|1 7|2 4|2 5|3 5|4 3|6 1| ...
    +------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | even |1 1|2|3 1|3 2|1 4|5|1 5|2 2|3 3|4 1|6|7 1|7 2|4 2|5 3|5 4|3 6|1 8| ...
    +------+---+-+---+---+---+-+---+---+---+---+-+---+---+---+---+---+---+---+
		

Crossrefs

Cf. A197124.

Programs

  • PARI
    See Links section.

A228595 Lexicographically earliest sequence of distinct positive integers such that the concatenation of the terms equals the concatenation of the positive integers, and no term appears in its natural position.

Original entry on oeis.org

12, 34, 56, 78, 910, 1, 11, 2, 131, 4, 151, 6, 171, 8, 1920, 212, 22, 3, 242, 5, 262, 7, 282, 9, 303, 13, 23, 33, 43, 53, 63, 73, 83, 940, 414, 24, 344, 454, 64, 74, 84, 950, 515, 25, 35, 45, 55, 65, 75, 85, 960, 616, 26, 36, 46, 566, 676, 86, 970, 717, 27
Offset: 1

Views

Author

Paul Tek, Aug 27 2013

Keywords

Comments

Leading zeros are forbidden.
For any n>0, the concatenation of the (n-1) first terms never equals the concatenation of the (a(n)-1) first positive integers.

Examples

			The positive integers:
+-+-+-+-+-+-+-+-+-+---+---+---+---+---+---+---+---+---+
|1|2|3|4|5|6|7|8|9|1 0|1 1|1 2|1 3|1 4|1 5|1 6|1 7|1 8| ...
+-+-+-+-+-+-+-+-+-+---+---+---+---+---+---+---+---+---+
This sequence:
+---+---+---+---+-----+-+---+-+-----+-+-----+-+-----+-+
|1 2|3 4|5 6|7 8|9 1 0|1|1 1|2|1 3 1|4|1 5 1|6|1 7 1|8| ...
+---+---+---+---+-----+-+---+-+-----+-+-----+-+-----+-+
		

Crossrefs

Programs

  • Perl
    See Link section.
Showing 1-2 of 2 results.