04-22-2011, 08:52 PM
(This post was last modified: 04-24-2011, 08:31 PM by AceInfinity.)
I know there's lots of the younger audience on this forum, so I was fooling around in VB and came up with a function to find factors of numbers, and decided to make it into a program where you can input any number you want, and find the factors of that number. Thought it might be helpful for math courses that any of you might be taking.
Features:
• Lists all factors without duplicates in the listbox
• Displays number of factors of the specified number as a string in a label
• Finds factors for any number up to 8 digits (Example: 99999999)
• Find Factors button, or enter key is enabled to perform the task of the Find Factors button
• letters are disabled and any other symbols in the textbox
• No decimals
• Displays whether or not the number is a Prime number
• Displays whether or not the number is a Special number (0 or 1 only)
Note: 1 only has 1 factor; 1. Therefore it isn't a prime number because a prime number is defined as a number whose factor is 1 and itself. 1 is the factor of its own number, and so we call it a Special number. For 0 it is a special number because 0 means nothing, and therefore doesn't have any factors, because otherwise it would have infinity factors... (0x1, 0x2, 0x3... 0x1000, etc...). 0 is also defined as a Special number for that reason.
There is also a Clear All function that will reset everything back to the defaults, displaying no entered numbers and no factors. It also has a fairly clean looking GUI.
Preview Image:
File Information:
MD5 hash - 157FCFCDFB11E8805A208A9117C9E573
Download Link:
Factor Finder v1.0
Features:
• Lists all factors without duplicates in the listbox
• Displays number of factors of the specified number as a string in a label
• Finds factors for any number up to 8 digits (Example: 99999999)
• Find Factors button, or enter key is enabled to perform the task of the Find Factors button
• letters are disabled and any other symbols in the textbox
• No decimals
• Displays whether or not the number is a Prime number
• Displays whether or not the number is a Special number (0 or 1 only)
Note: 1 only has 1 factor; 1. Therefore it isn't a prime number because a prime number is defined as a number whose factor is 1 and itself. 1 is the factor of its own number, and so we call it a Special number. For 0 it is a special number because 0 means nothing, and therefore doesn't have any factors, because otherwise it would have infinity factors... (0x1, 0x2, 0x3... 0x1000, etc...). 0 is also defined as a Special number for that reason.
There is also a Clear All function that will reset everything back to the defaults, displaying no entered numbers and no factors. It also has a fairly clean looking GUI.
Preview Image:
File Information:
MD5 hash - 157FCFCDFB11E8805A208A9117C9E573
Download Link:
Factor Finder v1.0