본문 바로가기

이경수 선생님의 수학실험실

검색하기
이경수 선생님의 수학실험실
프로필사진 (이경수)

  • Math (134)
    • Project Euler (51)
    • Programming (12)
    • R (27)
    • Algeomath (23)
    • Geogebra (16)
    • JinhakSup (0)
    • Algorithm Trading (5)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • 이경수 선생님의 지오지브라 튜브
«   2026/05   »
일 월 화 수 목 금 토
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
Tags
  • 큰수의법칙
  • 하합
  • project euler
  • 알지오매스
  • Geogebra
  • algeomath
  • 재귀함수
  • 삼각함수의그래프
  • 오일러
  • 구분구적법
  • 파이썬
  • 작도
  • 프랙탈
  • 블록코딩
  • counting sunday
  • 몬테카를로
  • 확률실험
  • 프로젝트 오일러
  • python
  • 정오각형
  • 이항분포
  • 피타고라스 정리
  • 상합
  • 제곱근의뜻
  • 시뮬레이션
  • 리만합
  • 큰 수의 법칙
  • 수학탐구
  • 지오지브라
  • java
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록projecteuler (1)

이경수 선생님의 수학실험실

Problem 1(Multiples of 3 and 5)

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 == ..

Project Euler 2019. 2. 6. 14:05
Prev 1 Next

Blog is powered by AXZ / Designed by Tistory

티스토리툴바