mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > enzocreti

Reply
 
Thread Tools
Old 2019-05-03, 10:22   #1
enzocreti
 
Mar 2018

21216 Posts
Default 482787103228021316582127269999999

482787103228021316582127269999999 is the lesser of a twin prime pair.


It is 5#*7#*11#*13#*17#*19#*23#-1


A challenge for somebody of you:


to find other pairs of twin primes of the form 5#*7#*11#...*p# +/- 1, greater than that.

Last fiddled with by enzocreti on 2019-05-03 at 10:23
enzocreti is offline   Reply With Quote
Old 2019-05-03, 10:55   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,739 Posts
Default

See: https://www.mersenneforum.org/showpo...58&postcount=6
paulunderwood is offline   Reply With Quote
Old 2019-05-04, 01:19   #3
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

3·193 Posts
Default

Code used to check this (in Mathematica):
Code:
Primorial[n_] := Product[Prime[i], {i, n}]
For[i = 0, i <= 130, i++, 
 If[PrimeQ[Product[Primorial[3 + x], {x, 0, i}] - 1] && 
   PrimeQ[Product[Primorial[3 + x], {x, 0, i}] + 1], Print[i]]]
Through a product of 5#*7#*11#*...*751# (which has 18572 digits and corresponds to i = 130 in this code), the only twin primes of this form are
5# +/- 1 (corresponding to i=0)
5#*7# +/- 1 (i = 1)
and the example that enzocreti gave (i=6). I will not go further, simply because the time it takes to run the PrimeQ quickly becomes prohibitive (at i = 130 it takes about 19 * 2 seconds to test for primality, plus a small amount of time to compute the product (*)).


(*) yes we could sieve the candidates here to reduce the overhead but I am not sure how we could code this efficiently using the MTsieve framework.
Dylan14 is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 04:48.


Sat Jul 17 04:48:12 UTC 2021 up 50 days, 2:35, 1 user, load averages: 1.66, 2.04, 2.13

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.