%I #19 Feb 22 2022 00:07:51
%S 0,1,1,2,1,2,3,2,2,3,4,3,2,3,4,5,4,3,3,4,5,6,5,4,3,4,5,6,7,6,5,4,4,5,
%T 6,7,8,7,6,5,4,5,6,7,8,9,8,7,6,5,5,6,7,8,9,10,9,8,7,6,5,6,7,8,9,10,11,
%U 10,9,8,7,6,6,7,8,9,10,11,12,11,10,9,8,7,6,7,8,9,10,11,12,13,12,11,10,9,8,7,7,8
%N Table of max(x,y), where (x,y) = (0,0),(0,1),(1,0),(0,2),(1,1),(2,0),...
%F From _Franklin T. Adams-Watters_, Feb 06 2006: (Start)
%F G.f.: (x+y-3xy+x^2 y^2)/((1-x)^2 (1-y)^2 (1-xy)).
%F T(n,m) = n + m - min(n,m); a(n) = A003056(n) - A004197(n). (End)
%F a(n) = (1/2)*(t - 1 + abs(t^2 - 2*n - 1)), where t = floor(sqrt(2*n+1)+1/2). - _Ridouane Oudra_, May 03 2019
%e Top left corner of array:
%e 0 1 2 3
%e 1 1 2 3
%e 2 2 2 3
%e 3 3 3 3
%Y Cf. A051125, A003056, A004197.
%Y Antidiagonal sums are in A001859.
%K tabl,nonn
%O 0,4
%A _Marc LeBrun_