Factorization for j2me phones

I don’t know about the rest of you, but I sometimes find it useful to factor numbers or find prime numbers, for instance when paying restaurant bills 🙂

To address this and also to learn a little j2me programming, I created a small midlet. You can install the midlet or download the source.

The program uses simple Trial division. I thought using a more advanced method, but for the numbers a j2me phone is able to handle Trial division is quick enough.

CC BY-SA 4.0 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

3 thoughts on “Factorization for j2me phones”

  1. Everything is very open with a precise clarification of the issues.
    It was truly informative. Your site is useful. Thanks for sharing!

    My web page garcinia cambogia burn free trial (Russ)

  2. Hey! This is my 1st comment here so I just wanted to give a quick shout
    out and tell you I genuinely enjoy reading your posts.
    Can you recommend any other blogs/websites/forums that deal with the same topics?
    Thanks a lot!

Leave a Reply to haavardm Cancel reply

Your email address will not be published. Required fields are marked *