Google interview question

Print all Jumping Numbers smaller than or equal to a given value