This task is simple, but is there a solution based on some theory? Not just going through all graphs on 5 vertices.
2026-04-08 21:33:18.1775683998
Find graphs on 5 vertices with 22 cycles, 13 cycles and 12 cycles
504 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
One hint: any graph $G$ has a cycle space. Every element of this is a subset $S$ of $G$'s edges where each node of $G$ meets an even number of edges in $S$. Thus every cycle in $G$ is a member of the cycle space. Where $G$ has $n$ nodes, $m$ edges and $c$ components, $G$'s cycle space has $2^{m-n+c}$ elements. So if $n=5$ and $G$ has 22 cycles, $G$'s cycle space needs at least $2^5$ elements...