view Test.hs @ 4631:8f5621406611

<elliott> revert
author HackBot
date Tue, 06 May 2014 21:45:59 +0000
parents 7f957c1f4661
children
line wrap: on
line source

import Data.List(inits);main = let p = 1 : zipWith (+) (map (*4) p) (map (sum . zipWith (*) p . reverse) (inits p)) in print $ p !! 1000