#!ruby -n a=*0..$_.to_f*2 a.map{|i|puts a.map{|j|2[j-i]*j*a[-j]}*' '}