Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I count the number of cycles of special length in a graph in sage?

I have tried the G.subgraph_search_count(graphs.CycleGraph(4))but is doesn't lead to the correct answer, any help would be appreciated.

How can I count the number of cycles of special length in a graph in sage?

I have tried the G.subgraph_search_count(graphs.CycleGraph(4))but is it doesn't lead to the correct answer, any help would be appreciated.

click to hide/show revision 3
retagged

How can I count the number of cycles of special length in a graph in sage?

I have tried the G.subgraph_search_count(graphs.CycleGraph(4))but it doesn't lead to the correct answer, any help would be appreciated.