본문 바로가기 메뉴 바로가기

A STORAGE FOR THOUGHT

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

A STORAGE FOR THOUGHT

검색하기 폼
  • 분류 전체보기 (24)
    • Diary (5)
    • Project Euler (16)
    • Math (3)
    • Etc (0)
  • 방명록

coding (1)
Project Euler #347: Largest integer divisible by two primes

문제 The largest integer ≤ 100 that is only divisible by both the primes 2 and 3 is 96, as 96=32*3=25*3. For two distinct primes p and q let M(p,q,N) be the largest positive integer ≤N only divisible by both p and q and M(p,q,N)=0 if such a positive integer does not exist. E.g. M(2,3,100)=96. M(3,5,100)=75 and not 90 because 90 is divisible by 2 ,3 and 5. Also M(2,73,100)=0 because there does not ..

Project Euler 2016. 5. 22. 03:26
이전 1 다음
이전 다음
공지사항
  • 공지
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Lion D.
TAG
  • 공대
  • 회상
  • 물리
  • 사망년
  • 취미
  • 컴공
  • 수학
  • 미적분
  • 복학
  • 정수론
  • 코딩
  • 선형대수학
  • 코딩연습
  • 텝스
  • repunit
  • 피타고라스
  • project euler
  • MATLAB
  • 대학생활
  • 프로그래밍
  • 알고리즘
  • 복학생
  • 공부
  • projecteuler
  • Problem Solving
  • 대학
  • pell's equation
  • coding
  • 대수경
  • 군대
more
«   2025/09   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바