Polynomial Sequences by tabasa

#!ruby -n\x0d
w=$_.split.map{|i|i.to_i}\x0d
p({708702,1300129,93791,169966,117650,262144,1647008,3090230,275,413,77396,137145,7777,16807,-1932,-3431,-78,-148,183,326,103000,233088,-3427,-5643,568,855,1800,3728,-17,-63,95,119,348,607,1124,1656,-451330,-868101,7570,12818,552,1152,370422,820185,2901,5258,641,1004,-32,-87,982,1913,4332,7896,-2462,-4264,-20,-67,4173,7636,179508,303202,-762,-1534,626,1296,65,125,10,16}[w[0]+w[-1]])

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

download

return to the top page