%I #2 Mar 30 2012 18:53:09
%S 1,1,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,1,1,1,0,1,0,0,
%T 0,1,0,0,1,0,0,0,0,0,1,1,1,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,
%U 1,1,0,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,0,0,0,0,0,0,1
%N Triangle T(n,k) read by rows. T(1,1)=1, n>1 T(n,1)=A049240, k>1 T(n,k)=A051731.
%C Except for the first term the first column is equal to A049240. The rest of the table equals A051731. The first column = 0 when n is a square greater than 1.
%e Table begins:
%e 1,
%e 1,1,
%e 1,0,1,
%e 0,1,0,1,
%e 1,0,0,0,1,
%e 1,1,1,0,0,1,
%e 1,0,0,0,0,0,1,
%e 1,1,0,1,0,0,0,1,
%e 0,0,1,0,0,0,0,0,1,
%e 1,1,0,0,1,0,0,0,0,1,
%Y Cf. A174854.
%K nonn,tabl
%O 1,1
%A _Mats Granvik_, Mar 31 2010