login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A307669
Lexicographically earliest sequence of positive terms, such that each value, say v, appears five times at indices k, k + v, k + 2*v, k + 3*v and k + 4*v for some k.
2
1, 1, 1, 1, 1, 2, 4, 2, 8, 2, 4, 2, 9, 2, 4, 10, 8, 3, 4, 14, 3, 9, 4, 3, 8, 10, 3, 11, 13, 3, 9, 19, 8, 14, 12, 10, 15, 20, 11, 9, 8, 13, 17, 21, 24, 10, 12, 14, 9, 11, 19, 15, 26, 30, 13, 10, 23, 20, 12, 17, 11, 14, 25, 28, 21, 29, 15, 13, 24, 19, 12, 11, 18
OFFSET
1,6
COMMENTS
This sequence is a variant of A307664.
Graphically, we have five chaotic lines.
Apparently every positive integer appears in the sequence.
LINKS
Rémy Sigrist, Colored scatterplot of the first 250000 terms (where the color is based on the ordinal transform of the sequence)
EXAMPLE
For n = 1:
- we can set a(1) = a(2) = a(3) = a(4) = a(5) = 1.
For n = 6:
- we can set a(6) = a(8) = a(10) = a(12) = a(14) = 2.
For n = 7:
- a(10) is already known, hence a(7) <> 3,
- we can set a(7) = a(11) = a(15) = a(19) = a(23) = 4.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A296092 A259111 A209675 * A171977 A266073 A059866
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2019
STATUS
approved