I know it isn't gonna appear in your homework probably because it's too basic, but here is Factor Finder.
You type in any number you wish and the program calculates all of the number's factors with a very short and effective script.
Offline
Interesting!
Offline