First power of 2 that has leading decimal digits of 12: Difference between revisions
Content added Content deleted
Line 276: | Line 276: | ||
import Text.Printf (printf) |
import Text.Printf (printf) |
||
p :: Int -> Int -> |
p :: Int -> Int -> Int |
||
p l n = calc !! pred n |
p l n = calc !! pred n |
||
where |
where |