Learning F# through Project Euler
Too easy.
let problem29a = seq {for a in 2I..100I do for b in 2..100 do yield bigint.Pow(a,b)} |> Seq.distinct |> Seq.length
No comments:
Post a Comment