## You are here

Homeinterprime

## Primary tabs

# interprime

Given two consecutive odd primes, the $i$th prime $p_{i}$ and the next one, $p_{{i+1}}$, an interprime $n$ is the arithmetic mean of the two:

$n=\frac{p_{i}+p_{{i+1}}}{2}$ |

Thus, $n-p_{i}=p_{{i+1}}-n$, so alternatively

$n=p_{i}+\frac{p_{{i+1}}-p_{i}}{2}=p_{{i+1}}-\frac{p_{{i+1}}-p_{i}}{2}.$ |

For example, given the 269th and 270th primes, 1723 and 1733, the interprime is 1728, and indeed $1728-1723=1733-1728=5$. Interprimes themselves are of course always composite, though not always even. An interprime between a twin prime will always be even, while an interprime between the second (ending in 3 in base 10) and third (ending in 7 in base 10) member of a prime quadruplet will always be odd and be divisible by 5.

The first few interprimes are 4, 6, 9, 12, 15, 18, 21, 26, 30, 34, 39, 42, 45, 50, 56, 60, 64, 69, 72, 76, 81, 86, 93, 99, etc., listed in A024675 of Sloane’s OEIS.

## Mathematics Subject Classification

11A51*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff
- Corrections