d239. Problem 47
Tags :
Accepted rate: 423人/ 455人 ( 93%) [非即時]
評分方式:
Tolerant

最近更新 : 2011-09-13 01:03

Content

The first two consecutive numbers to have two distinct prime factors are:

14 = 2 x 7
15 = 3 x 5

The first three consecutive numbers to have three distinct prime factors are:

644 = 2² x 7 x 23
645 = 3 x 5 x 43
646 = 2 x 17 x 19.

Find the first four consecutive integers to have four distinct primes factors. What is the first of these numbers?

即找出先出現的連續四個數且都由四個質數構成.

Input
<無>
Output

直接輸出答案(四個數當中最小的).

Sample Input #1
<無>
Sample Output #1
<無>
測資資訊:
記憶體限制: 512 MB
不公開 測資點#0 (100%): 1.0s , <1K
Hint :
Tags:
出處:
Project Euler

Status Forum 排行

ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」