login
Even interprimes.
16

%I #11 Mar 23 2020 04:04:46

%S 4,6,12,18,26,30,34,42,50,56,60,64,72,76,86,102,108,120,134,138,144,

%T 150,154,160,170,176,180,186,192,198,228,236,240,246,254,260,266,270,

%U 274,282,288,300,312,324,334,342,348,356,370,376,386,414,420,426,432

%N Even interprimes.

%C The interprimes (A024675) are those integers that lie at the midpoint between consecutive odd primes.

%H Amiram Eldar, <a href="/A072568/b072568.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Interprime.html">Interprime</a>

%t Select[Plus @@@ Partition[Table[Prime[n], {n, 2, 100}], 2, 1]/2, EvenQ]

%Y Even members of A024675.

%Y Cf. A024675, A072569, A072570, A072571, A072572, A072573.

%K easy,nonn

%O 1,1

%A _Marco Matosic_, Jun 21 2002

%E Offset corrected by _Amiram Eldar_, Mar 23 2020