The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A081315 Lexicographically earliest sequence of positive integers such that n occurs a(n)-1 times, starting at n=0. 1

%I

%S 1,2,3,2,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,10,11,

%T 11,11,11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,

%U 15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18

%N Lexicographically earliest sequence of positive integers such that n occurs a(n)-1 times, starting at n=0.

%e a(2)=3 because 2 appears a total of 3 times in the two sequences: once in A001477, once as a(1) in this sequence and once as a(3). The number 2 cannot be chosen as a(2) because that would mark the third appearance of 2, creating a contradiction; neither a(2)=3 nor the subsequent a(3)=2 creates any contradiction, however.

%K easy,nonn

%O 0,2

%A _Matthew Vandermast_, Mar 17 2003

%E Definition edited by _Benoit Jubin_, May 01 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 22 19:36 EDT 2021. Contains 347608 sequences. (Running on oeis4.)