OFFSET
1,5
COMMENTS
This sequence is a variant of A307664.
Graphically, we have four wavy 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 A307667
EXAMPLE
For n = 1:
- we can set a(1) = a(2) = a(3) = a(4) = 1.
For n = 5:
- we can set a(5) = a(7) = a(9) = a(11) = 2.
For n = 6:
- a(9) is already known, hence a(6) <> 3,
- we can set a(6) = a(10) = a(14) = a(18) = 4.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 20 2019
STATUS
approved
