Taxicab numbers: Difference between revisions
Content added Content deleted
m (→{{header|Haskell}}: Removed a redundant import) |
|||
Line 1,188: | Line 1,188: | ||
, y <- t ] |
, y <- t ] |
||
-- Taxicab numbers |
-- Taxicab numbers composed from first 1200 cubes |
||
xs :: [(Int, [(Int, ((Int, Int), (Int, Int)))])] |
xs :: [(Int, [(Int, ((Int, Int), (Int, Int)))])] |
||
xs = zip [1 ..] (taxis 1200) |
xs = zip [1 ..] (taxis 1200) |