A156734 Square array read by antidiagonals up. T(n,k) = if k divides n then +1 else -1.
1, 1, -1, 1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
Offset: 1
Examples
Table begins: 1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1 1..1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1 1.-1..1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1 1..1.-1..1.-1.-1.-1.-1.-1.-1.-1.-1.-1 1.-1.-1.-1..1.-1.-1.-1.-1.-1.-1.-1.-1 1..1..1.-1.-1..1.-1.-1.-1.-1.-1.-1.-1 1.-1.-1.-1.-1.-1..1.-1.-1.-1.-1.-1.-1 1..1.-1..1.-1.-1.-1..1.-1.-1.-1.-1.-1 1.-1..1.-1.-1.-1.-1.-1..1.-1.-1.-1.-1 1..1.-1.-1..1.-1.-1.-1.-1..1.-1.-1.-1 1.-1.-1.-1.-1.-1.-1.-1.-1.-1..1.-1.-1 1..1..1..1.-1..1.-1.-1.-1.-1.-1..1.-1 1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1.-1..1
Crossrefs
Cf. A127511.
Programs
-
Excel
=if(or(mod(row();column())=0);1;-1)
Formula
T(n,k) = if k divides n then +1 else -1.
Comments