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
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2019
STATUS
approved