OFFSET
0,2
COMMENTS
The nonarithmetic-3-progression sequences starting with a(1)=1, a(2)=1+3^m or 1+2*3^m, m >= 0, seem to have especially simple 'closed' forms. None of these formulas have been proved, however.
T(m,1)=1, T(m,2) = 1 + (1 + [m even])*3^floor(m/2) = 1 + A038754(m), m >= 0, n > 0; T(m,n) is least k such that no three terms of T(m,1), T(m,2), ..., T(m,n-1), k form an arithmetic progression.
LINKS
Eric Weisstein's World of Mathematics, Nonarithmetic Progression Sequence.
FORMULA
T(m, n) = (Sum_{k=1..n-1} (3^A007814(k) + 1)/2) + f(n), with f(n) a P-periodic function, where P <= 2^floor((m+3)/2) (conjectured and checked up to m=13, n=1000).
The formula implies that T(m, n) = b(n-1) where b(2n) = 3b(n) + p(n), b(2n+1) = 3b(n) + q(n), with p, q sequences generated by rational o.g.f.s.
EXAMPLE
Array begins:
1, 2, 4, 5, 10, 11, 13, ...
1, 3, 4, 6, 10, 12, 13, ...
1, 4, 5, 8, 10, 13, 14, ...
1, 7, 8, 10, 11, 16, 17, ...
1, 10, 11, 13, 14, 20, 22, ...
...
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Ralf Stephan, Apr 09 2004
STATUS
approved