find the next 5 numbers in this sequence...

28, 32, 34, 32, 34, 36, 40, 38, 38, 40, 36, 38, 40

The nth term of the sequence is given by:

S(n) = T(n) - U(n); where

T(n) = (n+10) th prime, and:

U(n) = (n+1) th prime

So,

S(14) = T(14) - U(14) = 89 - 47= 42

S(15) = T(15) - U(15) =97 - 53 = 44

S(16) = T(16) - U(16) = 101- 59=42

S(17) = T(17) - U(17) = 103- 61=42

S(18) = T(18) - U(18) = 107- 67=40

Consequently, the next 5 numbers in this sequence are 42, 44, 42, 42 and 40

*Edited on ***March 18, 2008, 10:57 am**