OFFSET
0,4
COMMENTS
LINKS
T. D. Noe, Rows n = 0..100 of triangle, flattened
EXAMPLE
Triangle:
0
0, 0
-2, 0, 2
0, 0, 0, 1
-8, -2, 0, 2, 8
-3, 0, 0, 0, 0, 3
-6, -3, -2, 1, 2, 3, 8
0, 0, 0, -2, 2, 0, 0, 1
MATHEMATICA
di[0]=0; di[1]=0; di[ -1]=0; di[I]=0; di[ -I]=0; di[n_] := Module[{f, unt}, f=FactorInteger[n, GaussianIntegers->True]; unt=(Abs[f[[1, 1]]]==1); If[unt, f=Delete[f, 1]]; f=Transpose[f]; Plus@@(n*f[[2]]/f[[1]])]; Im[Table[di[n-i + I*i], {n, 0, 12}, {i, 0, n}]]
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
T. D. Noe, Nov 09 2012
STATUS
approved