Title:
Seeking-twin-prime-numbers Download
- Category:
- Other Riddle games
- Tags:
-
- File Size:
- 81kb
- Update:
- 2017-04-23
- Downloads:
- 0 Times
- Uploaded by:
- 胡雪宁
Description: The so-called twin prime number refers to the two adjacent prime numbers of 2, because the distance between them can not be closer, as the twin brothers, so this pair of prime number known as the twin prime number.
Obviously, the smallest pair of twin prime numbers is (1,3). We can write the number of twin numbers within 3 to 100, a total of 8 pairs, respectively (3,5), (5,7), (11,13), (17,19), (29,31) 41, 43), (59, 61) and (71, 73). With the increase in numbers, the distribution of twin prime numbers is becoming more and more sparse, and it is very difficult to find twin numbers manually.
The problem to be solved in this question is: programming to find all within 3 ~ 1000 twin prime number.
To Search:
File list (Check if you may need any files):
Seeking twin prime numbers.docx