[Scratch] _ Project Euler #002 _ Even Fibonacci Numbers (짝수 피보나치 수열의 합)
COM2019. 4. 23. 21:48 |Problem 2.
Each new term in the Fibonacci sequence is generated by adding the previous two terms.
By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.
: 4,000,000 이하의 짝수인 피보나치 넘버들의 합 구하기
재밌는 주제들:
- 피보나치 수열의 일반항
- Characteristic Equation (특성방정식)
- Generating Function (생성함수)
- Golden Ratio (황금비)
- Pascal Triangle (파스칼 삼각형)