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
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 03 2003
STATUS
approved