![]() |
|
|
#1 |
|
Mar 2018
2×5×53 Posts |
I found this pair of 27 digit twin primes:
1- 149907114776274341482621993 2- 149907114776274341482621991 I would know if it is possible with Pari or Pfgw to find the next and the previous pair of twin primes? |
|
|
|
|
|
#2 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Yes, it is possible, and it takes less than a second to run.
Code:
gp > n=149907114776274341482621993; while((m=nextprime(n+1))-n>2, n=m); n %1 = 149907114776274341482622207 The other direction exercise for you. |
|
|
|
|
|
#3 |
|
Mar 2018
10228 Posts |
149907114776274341482621993 is the concatenation in base ten of the prime factors of 25!-1
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find very easy twin prime in the infamy twin primes | hal1se | Miscellaneous Math | 13 | 2018-11-05 16:34 |
| Highest Prime is also a twin prime... NOT | hydeer | Lone Mersenne Hunters | 9 | 2018-04-03 22:54 |
| Twin Prime Days, Prime Day Clusters | cuBerBruce | Puzzles | 3 | 2014-12-01 18:15 |
| What to do with 16 digit twin, non-Mersenne primes? | RienS | Miscellaneous Math | 15 | 2014-11-18 01:48 |
| Twin primes in the 50,000 digit range? | Joshua2 | Math | 15 | 2005-06-11 18:46 |