Pergunta de entrevista da empresa Google

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