Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 356 Bytes
(*
* Solution to Project Euler problem 20
* Copyright (c) Project Nayuki. All rights reserved.
*
* https://www.nayuki.io/page/project-euler-solutions
* https://github.com/nayuki/Project-Euler-solutions
*)
(*
* We do a straightforward computation thanks to Mathematica's built-in arbitrary precision integer type.
*)
Total[IntegerDigits[100!]]