OFFSET
1,3
COMMENTS
This sequence avoids one of the six permutations of a set of three integers in arithmetic progression. For example, the set {1,2,3} can be ordered as tuples (1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1), (3, 1, 2), and (3, 2, 1). In this sequence, we avoid (1,3,2) and other progressions of the form c, c+2d, c+d, for all d >= 0.
LINKS
Neal Gersh Tolunsky, Table of n, a(n) for n = 1..10000
Neal Gersh Tolunsky, Graph of first 200000 terms.
FORMULA
a(n)=1 iff n in A003278.
CROSSREFS
KEYWORD
nonn
AUTHOR
Neal Gersh Tolunsky, May 25 2024
STATUS
approved