Euler problems/81 to 90
m (Corrected the links to Project Euler)
Revision as of 22:54, 15 August 2007
Find the minimal path sum from the top left to the bottom right by moving right and down.
problem_81 = undefined
Find the minimal path sum from the left column to the right column.
problem_82 = undefined
Find the minimal path sum from the top left to the bottom right by moving left, right, up, and down.
problem_83 = undefined
In the game, Monopoly, find the three most popular squares when using two 4-sided dice.
problem_84 = undefined
Investigating the number of rectangles in a rectangular grid.
problem_85 = undefined
Exploring the shortest path from one corner of a cuboid to another.
problem_86 = undefined
Investigating numbers that can be expressed as the sum of a prime square, cube, and fourth power?
import List problem_87 = length expressible where limit = 50000000 squares = takeWhile (<limit) (map (^2) primes) cubes = takeWhile (<limit) (map (^3) primes) fourths = takeWhile (<limit) (map (^4) primes) choices = [[s,c,f] | s <- squares, c <- cubes, f <- fourths] unique = map head . group . sort expressible = filter (<limit) . unique . map sum $ choices
Exploring minimal product-sum numbers for sets of different sizes.
problem_88 = undefined
Develop a method to express Roman numerals in minimal form.
problem_89 = undefined
10 Problem 90
An unexpected way of using two cubes to make a square.
problem_90 = undefined