OFFSET
1,1
COMMENTS
if seq(n+1) - seq(n) = 0 or 2 then prime(n) and prime(n+1) are often twins.
FORMULA
Prime(n) is to prime(n+1) as x is to prime(n)+prime(n+1)
EXAMPLE
Starting with the second prime: 3 is to 5 as x is to 8. x = 8*3/5 => 4
PROG
(PARI) p(n) = for(x=1, n, y=prime(x+1)*prime(x+2)/prime(x)+.0; print1(floor(y)", "))
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Cino Hilliard, Aug 24 2004
STATUS
approved