Skip to main content
1 of 3
Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187

I'll answer a question raised in the comments:

Question: Count the number of induced trees of size $k$.

According to this paper, it is NP-hard to decide given a graph $G$ and an integer $k$, if $G$ contains an induced tree of size $k$. So, it's probably pretty damn hard to count them. Apparently, it remains NP-hard even for bipartite graphs.

Tony Huynh
  • 32.1k
  • 11
  • 112
  • 187