Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




def zero_arity:
  if (. % 1000000 == 0) then . else empty end, ((.+1)| zero_arity);
 
1|zero_arity