Yes its 40 i think. here is my logic:-
from 5 to 10 is adding 5 , from 10 to 20 is adding 10, from 20 to 25 is adding 5 and from 25 to 35 is adding 10 so the next number is add 5 and then add 10 and so on....
so add 5 then add 10 alternately. does that make sense?
I think jake-the-peg probably has the method of choice but I see another patern. All of the numbers in this sequence are progressive multiples of five skipping every third result. Accordingly 40 would also be the next number in this sequence.