%I #16 Jan 10 2023 20:00:55
%S 1,1,2,1,1,2,2,5,5,1,1,2,1,1,2,2,5,5,2,5,5,6,6,10,6,6,11,1,1,2,1,1,2,
%T 2,5,5,1,1,2,1,1,2,2,5,5,2,5,5,6,6,10,6,6,11,11,5,5,6,6,12,6,6,12,2,
%U 12,14,13,13,3,13,12,12,15,13,12,12,13,15,13,17
%N Lexicographically earliest sequence of positive integers such that no three terms a(j), a(j+k), a(j+2k) (for any j and k) form an arithmetic or geometric progression.
%H Alois P. Heinz, <a href="/A359652/b359652.txt">Table of n, a(n) for n = 1..10000</a>
%F a(n) <= (n^2+1)/2.
%Y Cf. A229037, A268811.
%K nonn,look
%O 1,3
%A _Neal Gersh Tolunsky_, Jan 09 2023
%E More terms from _Alois P. Heinz_, Jan 09 2023