Providence Interview Question

print 1-n without loops and without recursion