Jump to content

Lah numbers: Difference between revisions

m
Line 491:
printf "Unsigned Lah numbers: L(n, k):\nn/k"
mapM_ (printf "%11d") ([0..12] :: [Word])
mapM_ printLah [$ (n, k) | n <-$> [0..12], k <-*> [0..12]]
printf "\nMaximum value from the L(100, *) row:\n%d\n"
(maximum $ lah 100 <$> ([0..100] :: [Integer]))</lang>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.