Project Euler – Problem 20
Find the sum of digits in 100! Problem: n! means n × (n − 1) × … × 3 × 2 × 1 Find the sum of the digits in the number 100! My Solution:
Find the sum of digits in 100! Problem: n! means n × (n − 1) × … × 3 × 2 × 1 Find the sum of the digits in the number 100! My Solution:
What is the first term in the Fibonacci sequence to contain 1000 digits? Problem: The Fibonacci sequence is defined by the recurrence relation: F_(n) = F_(n−1) + F_(n−2), where F_(1) = 1 and F_(2) = 1. Hence the first 12 terms will be: F_(1) = 1 F_(2) = 1 F_(3) = 2 F_(4) = 3 [...]