A176890 Triangle T(n,k) read by rows. Signed subsequence of A051731.
-1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0
Offset: 1
Examples
Table begins: -1, 1,0, 1,0,0, 1,1,0,0, 1,0,0,0,0, 1,1,1,0,0,0, 1,0,0,0,0,0,0, 1,1,0,1,0,0,0,0, 1,0,1,0,0,0,0,0,0, 1,1,0,0,1,0,0,0,0,0,
Programs
-
Excel
=if(and(row()=1;column()=1);-1;if(mod(row();column())=0;1;0)-if(and(column()>1;row()=column());1;0))
Formula
T(n,k) = if n=1 and k=1 then -1 elseif n=k then 0 elseif k divides n then 1 else 0.
Comments