OFFSET
1,1
COMMENTS
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.
EXAMPLE
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,
PROG
(Excel) =if(and(row()=1; column()=1); -1; if(mod(row(); column())=0; 1; 0)-if(and(column()>1; row()=column()); 1; 0))
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Mats Granvik and Gary W. Adamson, Apr 28 2010
STATUS
approved