Problem 9
A Pythagorean triplet is a set of three natural numbers, a b c, for which,
Problem 1
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Problem 2
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
Problem 3
The prime factors of 13195 are 5, 7, 13 and 29.
無限リストを含むリストの型?
Haskellではリストは以下の3つに分けられる