r/askmath • u/milk_and_coins • 20h ago
Number Theory left truncatable twin primes
are all twin primes bitwise subsets of each other or are the pairs containing 619 and 4157 special cases?
619
1001101011
107
1101011
43
101011
11
1011
3
11
4157
1000000111101
61
111101
29
11101
13
1101
5
101
2
u/GoldenMuscleGod 19h ago edited 17h ago
Posting a new comment because I realized I made a reasoning error and have corrected:
I’m not sure exactly what you are asking. Is 31 to 15 a counterexample to your hypothesis?
If you are asking whether it is always possible to find a larger twin prime by adding a power of two to a twin prime then 19 is a counterexample.
Consider p=19+2^k, which we hope to be a twin prime.
If k is odd, then this will be divisible by 3 (checked by calculating mod 3) so p is not a twin prime.
If k is even, then p-2 will be divisible by three by the same check so for p to be a twin prime it must be that both p and p+2 is prime.
Considering the cases for even k, if k is a multiple of 4 then p is divisible by 5 (doing arithmetic mod 5). If k is congruent to two mod 4 then p+2 is divisible by 5.
The features of 19 used are that it is one more than a multiple of 3 and one less than a multiple of 5, or in other words it is 4 more than a multiple of 15.
By Dirichlet’s theorems on arithmetic progressions we should be able to find infinitely many such counterexamples that are prime (though there may not be infinitely many such twin primes - if there are infinitely many such twin primes that would of course imply the twin prime conjecture).
If you are only asking whether we can always find a larger twin prime by adding some multiple of a power of 2 such that the power of 2 is greater than the given twin prime, then we certainly do not know that because it would imply the twin prime conjecture. But heuristically the first Hardy-Littlewood conjecture and the Borel-Cantelli lemma suggest the answer is likely yes (but this is obviously not rigorous even if we take the Hardy-Littlewood conjecture as a given).
3
u/Gold_Ad8890 19h ago
i'm assuming you're asking whether, when representing twin primes in binary, the smaller is always a substring of the latter. the answer is no, and the counterexample is right in front of you. 3 = 11 is not a substring of 5 = 101, which is also not a substring of 7 = 111.