rfib = function(n) if n < 1 then return 0 if n == 1 then return 1 return rfib(n-1) + rfib(n-2) end function print rfib(6)