n! means n * (n-1) * ... * 3 * 2 * 1
For example 10! = 10 * 9 * 8 ... 3*2*1 = 3628800
Let R(n) equal the sum of the digits in the number n!
For example, R(10) = 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27
Find the lowest value for n where R(n) is 8001
Configuration:
Debian squeeze 6.0.3
Kernel Linux 2.6.32
RAM: 4 GB
Processor: Pentium Dual-core E5700 @ 3 GHz
PHP 5.3.3-7+squeeze3
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
On this page of the site you can watch the video online speed test php, python, ruby with a duration of hours minute second in good quality, which was uploaded by the user MrSuixela 05 March 2012, share the link with friends and acquaintances, this video has already been watched 3,190 times on youtube and it was liked by 8 viewers. Enjoy your viewing!