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.

A331910 Lexicographically earliest sequence of positive terms such that a(n) is the length of the n-th run of consecutive, equal terms and such that no two runs are identical.

This page as a plain text file.
%I A331910 #16 Feb 26 2020 16:07:06
%S A331910 1,2,2,1,1,2,3,4,4,1,1,1,2,2,2,2,1,1,1,1,4,5,6,3,3,5,5,6,6,7,7,8,7,9,
%T A331910 10,3,3,3,3,1,1,1,1,1,2,2,2,2,2,2,3,3,3,2,2,2,3,3,3,3,3,2,2,2,2,2,1,1,
%U A331910 1,1,1,1,3,3,3,3,3,3,1,1,1,1,1,1,1,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1
%N A331910 Lexicographically earliest sequence of positive terms such that a(n) is the length of the n-th run of consecutive, equal terms and such that no two runs are identical.
%H A331910 Rémy Sigrist, <a href="/A331910/b331910.txt">Table of n, a(n) for n = 1..10000</a>
%H A331910 Rémy Sigrist, <a href="/A331910/a331910.gp.txt">PARI program for A331910</a>
%e A331910 a(8) and a(9) are 4 because runs of length 2 containing values 1 and 2 appear earlier in the sequence and because a(7) is 3.
%o A331910 (PARI) See Links section.
%Y A331910 Cf. A000002.
%K A331910 nonn
%O A331910 1,2
%A A331910 _Samuel B. Reid_, Jan 31 2020