$f(n)$ - Number of (non-oriented) simple graph with $n$ vertices numbered $1,2,\dots n$ in which for every vertex $v$, deg$(v)=2$.
I've been trying to connect the $n^{th}$ vertex choosing $2$ out of $n-1$ vertices for $n>3$ where for $n=3$ $f=1$, and $0$ for $n<3$. However this solution seems fail for $n=6$.
I'm not sure how to approach this problem differently
I Appreciate the help
Thanks