OFFSET
1,3
COMMENTS
The sequence initially appears to be trivially fractal in that the removal of the first occurrence of each value seems to yield the original sequence. This pattern continues until a(121) where, if the sequence were fractal in this way, the value would be 72 or 1. The actual value is 13, so the pattern is broken.
Conjecture: For all k > 0, there is exactly one j such that a(j) = a(j+k). For 0 < k < 11911, this conjecture holds.
LINKS
Samuel B. Reid, Table of n, a(n) for n = 1..10000
Samuel B. Reid, Python program for A337226
EXAMPLE
1 1 2 1 3 4 2
(1)1 2 1 3 4 k = 1
1(1)2 1 3 k = 2
(1)1 2 1 k = 3
1 1(2) k = 4
1 1 k = 5
1 k = 6
Coincidences are circled. There can only be one coincidence per row.
a(3) cannot be 1 because that would result in two coincidences for k = 1.
a(5) cannot be 1 or 2 because those values would result in two coincidences for k = 1 and k = 2, respectively.
a(7) cannot be 1, 3, or 4 because those values would result in two coincidences for k = 3, k = 2, and k = 1, respectively. It can, however, be 2 because this results in no double coincidences.
PROG
(Python) # See Links section.
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Samuel B. Reid, Aug 19 2020
STATUS
approved