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
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, 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, 8, 150, 126, 80, 108, 105, 10, 17, 8, 13, 11, 120, 30, 280, 168 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is a variant of A336215.
Will every integer appear in this sequence?
LINKS
EXAMPLE
For n = 1:
- we can choose a(1) = 1.
For n = 2:
- we can choose a(2) = 2,
- consequently: a(4) = 2.
- For n = 3:
- we can choose a(3) = 3,
- consequently: a(6) = a(9) = 3.
For n = 5:
- a(5) cannot be equal to 4 as a(9) = 3,
- we can choose a(5) = 5,
- consequently: a(10) = a(15) = a(20) = a(<25) = 5.
PROG
(C++) See Links section.
CROSSREFS
Cf. A336215.
Sequence in context: A060474 A065988 A335285 * A075105 A265675 A094020
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 15 2020
STATUS
approved

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 April 27 15:53 EDT 2024. Contains 372019 sequences. (Running on oeis4.)