Even Fibonacci numbers: Python Code #2
This blog post discusses Project Euler problem 2:
By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.
Feel free to try the code below, by inputting any number:
Largest prime factor
What is the largest prime factor of the number 600851475143 ?
10001st prime
What is the 10 001st prime number?
Sum square difference
Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.
Power digit sum
What is the sum of the digits of the number 2^1000?
1000-digit Fibonacci
What is the index of the first term in the Fibonacci sequence to contain 1000 digits?
Largest product in a series
Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of this product?
Special Pythagorean triplet
There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc.