OFFSET
1,1
COMMENTS
a(1)=2; for n > 1, a(n) is the smallest number in the set S = {2,3,5,7,11,13,17,19}, subject to the constraint that for m < n, if a(m) = a(n) = s_i, n-m > s_i.
Observations:
The sequence is eventually periodic after the 129th term, with the repetend being the last 54 terms provided above. The repetend itself, repeated periodically, is also a packing coloring for the one-way and two-way infinite paths using this set S.
The chromatic number for packing the two-way infinite path with primes may be 8.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kenneth A. Dennison, Aug 11 2023
STATUS
approved