Pregunta de entrevista de Light & Wonder

Print series of number without loop statement