Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Factor Finder v1.0 (Numbers)
#9
Good work. Nice to see I'm not the only one interested in factor finding... Just a few things though:

1. Your using Integers so your already restricted to the number of digits you can use. Use System.Numerics.BigInteger instead.
2. You test every number between 2 and the number entered. When you think about it though, no number bigger than 50 will divide evenly into 100. But more importantly, no two numbers larger than the square root of any number can multiply together to give a number smaller than the number. In your example you should use the Math.Sqrt function. Unfortunately, BigInteger doesn't provide that.
3. When displaying the results, I'd display as equations so that you get
1 * 100
2 * 50
4 * 25
5 * 20
10 * 10

instead of just
1
2
4
5
10
20
25
50
4. If you only want numeric entries, why not use a numeric up down instead of a text box? With numeric up downs you can only enter numbers and even use the up down arrows as well. Except, if your using BigInteger, you'd have to make your own numeric up down as the standard one only returns decimal numbers and, consequently, has a maximum limit.
5. If you start using BigInteger, you'll want a way to cancel factor finding so you'll need to use another thread that listens for the cancel.
6. Finally, if you really want a good, fast factor finder, use a faster language like C++

Here's my attempt at a factor finder:
http://www.mediafire.com/?4c2tllg6lkvllbd

Also, here's a link to a website with factor finding stuff. It even has this cool game on it.
http://factorfinder.tk/
Reply


Messages In This Thread
Factor Finder v1.0 (Numbers) - by AceInfinity - 04-22-2011, 08:52 PM
RE: Factor Finder v1.0 (Numbers) - by Resistance - 04-23-2011, 12:27 PM
RE: Factor Finder v1.0 (Numbers) - by ReactioNz - 04-23-2011, 12:39 PM
RE: Factor Finder v1.0 (Numbers) - by AceInfinity - 04-23-2011, 01:07 PM
RE: Factor Finder v1.0 (Numbers) - by KoBE - 04-24-2011, 02:55 PM
RE: Factor Finder v1.0 (Numbers) - by AceInfinity - 04-24-2011, 03:00 PM
RE: Factor Finder v1.0 (Numbers) - by iCrack - 05-05-2011, 12:25 PM
RE: Factor Finder v1.0 (Numbers) - by AceInfinity - 05-05-2011, 03:41 PM
RE: Factor Finder v1.0 (Numbers) - by Michael_ - 06-11-2011, 11:35 AM
RE: Factor Finder v1.0 (Numbers) - by Ted Bundy - 06-11-2011, 11:59 AM
RE: Factor Finder v1.0 (Numbers) - by BacklTrack - 06-11-2011, 03:33 PM
RE: Factor Finder v1.0 (Numbers) - by AceInfinity - 06-13-2011, 02:08 AM
RE: Factor Finder v1.0 (Numbers) - by -Dreams - 06-14-2011, 02:21 AM
RE: Factor Finder v1.0 (Numbers) - by AceInfinity - 06-19-2011, 03:08 AM
RE: Factor Finder v1.0 (Numbers) - by RiChZ - 06-21-2011, 06:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] MD5 Encrypter & Finder [VB.NET] Fragma 12 7,857 11-25-2012, 10:36 PM
Last Post: ƃu∀ ıʞƃu∀
  Help with VB 2010 (Numbers) Dεlluzion 1 852 06-22-2011, 12:07 PM
Last Post: Coding Support
  [VB.NET/Source] Converte Numbers To Letters : 1000 To One Thousand! ThePrinCe 7 1,843 06-18-2011, 04:09 PM
Last Post: Coding Support
  Compare Version Numbers cipherwar 3 1,425 05-10-2011, 12:02 PM
Last Post: Modestep
  Generate Random Numbers & Letters [ Small Function ] MYPE 22 4,162 04-02-2011, 05:25 PM
Last Post: Pyratepig

Forum Jump:


Users browsing this thread: 4 Guest(s)