Google Interview Question

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