

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



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, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Colored scatterplot of the first 250000 terms (where the color is based on the ordinal transform of the sequence)
Rémy Sigrist, PARI program for A307669


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

Cf. A026242, A307664.
Sequence in context: A296092 A259111 A209675 * A171977 A266073 A059866
Adjacent sequences: A307666 A307667 A307668 * A307670 A307671 A307672


KEYWORD

nonn


AUTHOR

Rémy Sigrist, Apr 20 2019


STATUS

approved



