I found this prime: $127163$ such that $127163+26$ is the next prime and $127163-6$ is the previous prime, I mean $127163-6$, $127163$ and $127163+26$ are three consecutive primes. As you can see, the sum of the gaps (the gap between the original prime and the previous prime plus the gap between the original prime and the next prime) is $32=26+6$, a power of $2$. Are there other examples of such primes for which the sum of the gaps is a power of $2$?
2026-05-15 12:59:41.1778849981
On
On
A question about prime-gaps whose sum is a power of $2$.
58 Views Asked by user613967 https://math.techqa.club/user/user613967/detail At
3
There are 3 best solutions below
2
On
Yes: $3,5,7$. Consecutive primes with sum of gaps $2+2 = 4 = 2^2$. Here is the sequence of prime gaps. I think you can find many more examples with it.
2
On
There are a lot. Here are some early examples for each power of $2$ showing the three consecutive primes:
- $2^2: \qquad 3,5,7$ (only example this size)
- $2^3: \qquad 23,29,31$ (large number of examples this size)
- $2^4: \qquad 211,223,227$
- $2^5: \qquad 4751,4759,4783$
- $2^6: \qquad 33223, 33247, 33287$
$31-2, 31, 31+6=29,31,37$ and $2+6=8=2^3$.
$53,59,61$,
$59,61,67$.