%I #19 Mar 30 2024 21:20:04
%S 1,2,2,3,2,1,6,1,9,7,5,11,3,14,1,8,7,6,9,4,11,6,20,8,20,10,20,28,2,29,
%T 2,29,4,23,12,11,26,9,30,7,34,5,38,3,42,25,23,29,21,33,19,37,17,41,15,
%U 46,9,46,11,46,13,40,21,40,23,4,66,6,66,8,66,16,60,18,60,20,60,68,12,72,10
%N Leftmost terms of the triangle A097825.
%H John Tyler Rascoe, <a href="/A097510/b097510.txt">Table of n, a(n) for n = 1..10000</a>
%o (PARI) a(n) = local(x); x = n; forstep (i = n - 1, 2, -1, if (i%2, if (x <= i, x = i + 1 - x), if (x + i > n, x = n + n + 1 - i - x))); x; \\ _David Wasserman_, Dec 27 2007
%Y Cf. A097511, A097825.
%K easy,nonn
%O 1,2
%A _Leroy Quet_, Aug 26 2004
%E More terms from _David Wasserman_, Dec 27 2007
|