view Test.hs @ 4642:2c8609f43b64

<kmc> addquote <zzo38> Is axiom of choice applicable to work of such a game though? Maybe it is, but I don\'t know. I also don\'t know, what game.
author HackBot
date Wed, 28 May 2014 04:41:06 +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