Solve for n if:
\( Solve\ for\ f(n)\ if\ n\in \mathbb N\)
\(f(n)=\frac{n}{2} \) \(If\ n\ is\ even\ then\) \(f(n)\in \mathbb N\)
\(f(n)=3n+1 \) \(If\ n\ is\ odd\ then\) \(f(n) \in \{4,10,16,22\ …\}\)
!