Factoring Special Cases Calculator