일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 블록코딩
- 재귀함수
- 큰수의법칙
- 상합
- 정오각형
- 프로젝트 오일러
- java
- project euler
- counting sunday
- Geogebra
- 프랙탈
- algeomath
- 이항분포
- 시뮬레이션
- 오일러
- python
- 삼각함수의그래프
- 큰 수의 법칙
- 지오지브라
- 몬테카를로
- 알지오매스
- 작도
- 제곱근의뜻
- 리만합
- 확률실험
- 하합
- 파이썬
- 수학탐구
- 구분구적법
- 피타고라스 정리
- Today
- Total
목록오일러 (2)
이경수 선생님의 수학실험실
Problem 11(Largest product in a grid)In the 20×20 grid below, four numbers along a diagonal line have been marked in red.08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91 22 31 16 71 51 67 63 89 41 92 36 54 2..
Problem 1(Multiples of 3 and 5) If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. In Python: sum=0 for i in range(1,1000): if i%3==0 or i%5==0: sum+=i print(sum) Run time: 0.00024700164794921875 seconds In Python:print(sum([i for i in range(1, 1000) if i % 3 == ..