Skip to content

watamario15/prime-calculator

Repository files navigation

Prime Calculator

English / 日本語

This software factors a natural number into prime numbers and looks up prime numbers within a specified range, with the trial division algorithm.

Supported Platforms

  • Windows 2000 or later
    • Tested on Windows 2000 SP4, XP SP3, and 11.
  • Windows CE .NET 4.0 or later
  • Wine
    • Enables macOS and Linux to run this Prime Calculator.
    • Tested the AMD64 version on M2 MacBook Air (Rosetta 2).

Read Brain Wiki for supported Sharp Brain electronic dictionary devices.

How To Run

Note

Some pieces of anti-malware software falsely labels software from individual developers as malware. If you faced this behavior on this software, restore it from the chest or allow it. You can check out the source code and build it yourself if you are not sure whether this software is safe.

Download an appropriate one from Releases and run it on your device. No installation needed. You can also uninstall this software just by removing the executable file itself, as it doesn't touch the system registry or such.

You will first see the "Prime Factorization" mode. Enter a natural number in the input box and press the OK button or the Enter key, to get the result.

You can switch to the "Enumerate Prime Numbers" mode in the Options menu. Specify a range to enumerate prime numbers and a max count within, and press the OK button or the Enter key to start. You can set to use a text file as the output destination, as the output box can only hold 65,535 or less characters.

You can use the File menu to export the contents in the output box to a text file or copy it to the clipboard. Also, you can use the top row (QWERTY...) keys to input numbers if your device does not have number keys.

License

This software is licensed under the MIT License. You must agree with the licensing terms to use this software.