Central binomial coefficient 2 by nn

System.in.eachLine{n,i->v=1
(n as int).times{v=4*v+2*v/~it}
i>1&&println(v)}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page