Statiistics are not my strong point but I've got a bunch of figures here and I need to be able to predict the next N numbers with X % of accuracy.

If I had a series of numbers :-

20
25
21
22
20
26
22
24
19
21
22

whatever, is there some formula that tells me
"Based on the last x numbers, there is a y% chance the next number will be Z." or
"Based on the last x numbers, there is a y% chance the next number will be in the range of Z -> W."

Note the numbers are not entirely random. The number before has some influence on the number that follows. Given that premise, I'm trying to determine to what degree that influence is and if I can use that to predict the next number and how accurate that prediction will be.

Oh, and if I do pick the next lottery numbers, I'll give you a big reward (j/k)