Well, first of all, 30 and 40 are not prim numbers.
Here is a list of prim numbers in that general neighborhood.
There are others before and after these, but the answer to
your question is most likely here in this list:
. . . 19 . . 23 . . 29 . . 31 . . 37 . . 41 . . 43 . . 47 . . 53 . . 59 . . 61 . . .
Chat with our AI personalities
The differences between a number and the number two on is alternating between 6 and 3. In this case, the next number will be 24 + 6 = 30.
The next number in the sequence is 480
The next number in the sequence will be 56.
10
A single number, such as 18233039, cannot define a series.