20190408, 12:54  #1 
Mar 2018
523 Posts 
a 27 digit twin prime pair
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? 
20190408, 13:47  #2 
Romulan Interpreter
Jun 2011
Thailand
2×11×397 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. 
20190408, 15:25  #3 
Mar 2018
523 Posts 
149907114776274341482621993
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  20181105 16:34 
Highest Prime is also a twin prime... NOT  hydeer  Lone Mersenne Hunters  9  20180403 22:54 
Twin Prime Days, Prime Day Clusters  cuBerBruce  Puzzles  3  20141201 18:15 
What to do with 16 digit twin, nonMersenne primes?  RienS  Miscellaneous Math  15  20141118 01:48 
Twin primes in the 50,000 digit range?  Joshua2  Math  15  20050611 18:46 