Kaprekar Series

Ha! Finally I published the pages I had created on the Kaprekar routine/series/numbers; also made the code/software for Kaprekar series generation available for public download. Check it out at Kaprekar Series Generator.

Friday, January 14, 2005

Kaprekar 3.0 Released

There are two main changes in this release -
a) Parameterized the classes based on Java 5 and
b) Added a pause and resume option.

The pause and resume option holds only for the current run of Kaprekar. I plan to allow a "save state" feature in a future version where the user can save the current state of the Kaprekar run in a file and exit the application. Later, the user may "load the state" and resume the Kaprekar run.

The Kaprekar Series Generator allows you to determine the kaprekar series for any given number of digits (ranging from 2 to 2,147,483,647).

It provides both a command line as well as a GUI (java swing based) interface.

This release is written in Java 5, so you'll need the latest JDK to compile and run it.

To read more about the Kaprekar Series and to see some of the output from the Generator, check out the project web site http://kaprekar.sourceforge.net.

The GUI allows you to pause the generation of the Series at any time and then allows you to resume the generation. You can also run it in the "demonstrate" mode where you specify a number and the GUI steps it though the Kaprekar Routine. It determines the Kaprekar Series that number would lead to.

0 Comments:

Post a Comment

<< Home