Jumpy starts at 0 and lands only on multiples of his jump size. So a jump size works for a number only if it is a factor of that number. To reach both treasures, the jump size must be a common factor of 15 and 30.
Factors of 30 → 1, 2, 3, 5, 6, 10, 15, 30
The numbers in both lists are
Answer: jump sizes 1, 3, 5 and 15 — four in all.
Jump 5 → 5, 10, 15, 20, 25, 30 ✔
Jump 15 → 15, 30 ✔