login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A336268 Lexicographically earliest sequence of positive integers such that for any term, say k, there are k occurrences of k in the sequence, and the distance between any two consecutive occurrences of k equals k. 1

%I #11 Jul 19 2020 04:06:57

%S 1,2,3,2,5,3,7,8,3,5,11,17,13,7,5,8,28,36,4,5,7,11,4,8,5,13,4,7,17,54,

%T 4,8,11,42,7,72,56,30,13,8,70,7,40,11,28,17,60,8,7,90,140,13,84,36,11,

%U 8,150,126,80,108,105,10,17,8,13,11,120,30,280,168

%N Lexicographically earliest sequence of positive integers such that for any term, say k, there are k occurrences of k in the sequence, and the distance between any two consecutive occurrences of k equals k.

%C This sequence is a variant of A336215.

%C Will every integer appear in this sequence?

%H Rémy Sigrist, <a href="/A336268/b336268.txt">Table of n, a(n) for n = 1..5000</a>

%H Rémy Sigrist, <a href="/A336268/a336268.txt">C++ program for A336268</a>

%e For n = 1:

%e - we can choose a(1) = 1.

%e For n = 2:

%e - we can choose a(2) = 2,

%e - consequently: a(4) = 2.

%e - For n = 3:

%e - we can choose a(3) = 3,

%e - consequently: a(6) = a(9) = 3.

%e For n = 5:

%e - a(5) cannot be equal to 4 as a(9) = 3,

%e - we can choose a(5) = 5,

%e - consequently: a(10) = a(15) = a(20) = a(<25) = 5.

%o (C++) See Links section.

%Y Cf. A336215.

%K nonn

%O 1,2

%A _Rémy Sigrist_, Jul 15 2020

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 08:52 EDT 2024. Contains 372373 sequences. (Running on oeis4.)