Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -0,0 +1,2 @@
|
|||
part = 1 : b 1
|
||||
where b n = p where p = zipWith (+) (1 : b (n + 1)) (replicate n 0 ++ p)
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ghci> take 30 part
|
||||
[1,1,2,3,5,7,11,15,22,30,42,56,77,101,135,176,231,297,385,490,627,792,1002,1255,1575,1958,2436,3010,3718,4565]
|
||||
ghci> :set +s
|
||||
ghci> part !! 6666
|
||||
193655306161707661080005073394486091998480950338405932486880600467114423441282418165863
|
||||
(4.89 secs, 5,214,048,336 bytes)
|
||||
Loading…
Add table
Add a link
Reference in a new issue