# Is there a command-line program for Linux that prints out a factor tree?

Submitted by Copenhagen_Bram in Math

I can't find a function that prints out a list of factors in `calc`

. My homework is simplifying radicals, which requires factoring.

Submitted by Copenhagen_Bram in Math

I can't find a function that prints out a list of factors in `calc`

. My homework is simplifying radicals, which requires factoring.

## Cosine wrote

Believe it or not, GNU coreutils includes the

`factor`

program## zombie_berkman wrote

I beleieve I used BC to do this in college but I forget how I did it. Sorry