login
Numbers that fill in the gaps between primes in a list of twin primes.
0

%I #7 Oct 01 2013 17:57:44

%S 4,6,8,9,10,12,14,15,16,18,20,21,22,23,24,25,26,27,28,30,32,33,34,35,

%T 36,37,38,39,40,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,

%U 63,64,65,66,67,68,69,70,72,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88

%N Numbers that fill in the gaps between primes in a list of twin primes.

%C Used the PARI script plus manually inserted the non-twin-prime primes.

%F List the twin primes: 3 5 7 11 13 17 19 29 31 41 43 59 61 ... Then list the numbers between the primes formed by this list to make a list of consecutive integers.

%e For the twin prime listing 3 5 7 11

%e 4 between 3 and 5

%e 6 between 5 and 7

%e 8,9,10 between 7 and 11

%e so 4 6 8 9 10 are in the sequence.

%o (PARI) isonum(n) = { for(x=1,n, p1 = prime(x); p2 = prime(x+1); for(y=p1+1,p2-1, print1(y",") ) ) }

%K nonn

%O 3,1

%A _Cino Hilliard_, Nov 03 2003