Pergunta de entrevista da empresa Light & Wonder

Print series of number without loop statement