@Ryoka117 -- your two big errors are this:
1. In the case of n=1, since you don't consider "1/1" this value should be 0, not 1 as you have. This is the base case.
2. Otherwise (obviously expecting input >=1), we decrement our way down to the base case, recursively. Your second error is your return of the whole number n (e.g. 6). Instead you want 1.0/6 (decimal guaranteeing double result instead of integer division), plus a recursive call to n-1.
For clarity, I think having base case(s) first helps. Logic of Frac is same as Repeater's, though keeping the parameter an int. Here also is one possible iterative solution (Frac2).