login
A088224
Numbers that fill in the gaps between primes in a list of twin primes.
0
4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88
OFFSET
3,1
COMMENTS
Used the PARI script plus manually inserted the non-twin-prime primes.
FORMULA
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.
EXAMPLE
For the twin prime listing 3 5 7 11
4 between 3 and 5
6 between 5 and 7
8,9,10 between 7 and 11
so 4 6 8 9 10 are in the sequence.
PROG
(PARI) isonum(n) = { for(x=1, n, p1 = prime(x); p2 = prime(x+1); for(y=p1+1, p2-1, print1(y", ") ) ) }
CROSSREFS
Sequence in context: A167376 A133576 A192607 * A002808 A018252 A141468
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 03 2003
STATUS
approved