Answering ANY problem like this is a guessing game; there is no formal mathematics involved.
Take as much or as little time as you want trying to find a pattern that produces the given numbers and use that pattern to find the next number. But realize that any time and effort you spend on the problem might be wasted, because any logical answer you come up with might not be the "right" answer.