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.