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.

Thursday, May 27, 2004

Kaprekar Site: Added Proofs.

A few more updates on the Kaprekar site:

Added the proof on the divisibility of Kaprekar Series numbers in any radix r.
Added the Kaprekar Series for 11-digit to 20-digit numbers to the site.
Added the Kaprekar Series for 2-digit to 10-digit hexadecimal numbers to the site.

Monday, May 24, 2004

Matra Site: Modified.

I modified the Matra project site along the lines of the Kaprekar project site ... and it was a breeze! The whole change was done in an hour or two!

So the Matra site no longer has any frames and still retains a navbar - a dotted one that doesn't have the no-scroll problem. The site uses CSS. An the pages are php based.

I reused the tempate and CSS from the Kaprekar site with a few minor modifications.

Saturday, May 22, 2004

Kaprekar Site: Tested.

I tested the Kaprekar site on Win ME (Firefox 0.8, IE 6.0), Win XP Pro (Firefox 0.8, IE 6.0) and Red Hat Linix (Mozilla 0.7 and Konqueror 2.1.1). The site behaved normal ... hopefully should be the same using other browsers. If you encounter a problem, lemme know. It didn't seem to work too well on Amaya ... will check on that.

Friday, May 21, 2004

Kaprekar Site: Fixed Link problem.

I fixed the link problem (in the Kaprekar site). Now the W3C link checker reports no problem! Also validated my CSS stylesheets against the W3C CSS Validation Service.

Also, added the change history to the site.

Have a long way to go for xhtml compatibility.

W3C Link Checker.

Checked the Kaprekar site using W3C Link Checker. Found a couple of unnecessary redirects (it was pointing to the older cvs site) and found one 404! Will fix them soon ...

Kaprekar Site: Finished Site Design.

I have finished all the site-redesign changes to the Kaprekar Series Generator project site!

Completed the menu changes yesterday - so now its got a dotted-box left navigation bar. The frames were removed a while back along with the use of CSS. The only thing pending is making it XHTML valid and, of course, adding more content.

Right now, you find a blurb on the Kaprekar Series - something I had written a few years back (plan to rewrite that). You'll find the Kaprekar Series numbers for 2-digit to 10-digit numbers; the patterns in the series for 2-digit to 51-digit numbers (I'll need to update this, since then I've reached upto 57-digit numbers). And the class diagrams (svg format) for the classes. And finally the whats new section and links to the various sourceforge links for the project.

Next, I'll put the release notes online, write a new introduction, update the series-patterns page ... and validate the html.

Thursday, May 20, 2004

Kaprekar Series Site: Navbar/menu design.

ok ... I've decided that I'll go for a modified dotted style for the Kaprekar Series Generator site - but will put the styles in a separate css file - this way I can change the menu style by relacing this css along (not affecting the rest of the site). This will be aligned to the way I have structured the css for the site - as descibed in the article retooling slashdot.

I have decided not to go along with the xml menu structure - if I go along with that I'll have to give up any hope for making my site truly xhtml valid - it would just close that option for me ... so now someday I'll have the site xhtml valid AND which hopefully will work cross browser ... now now thats a dreamer :)

Monday, May 17, 2004

Kaprekar Series Site: Site Redesign.

Still working on the Kaprekar Series Generator Site redesign.

The menu on the site still uses a html table. Plan to move that to a pure CSS solution. But currently stumped as to what approach to go for! The current menu which uses table tags is (hopefully!) cross-browser - it will look more-or-less the same across various browsers. Should I move away from that?

Ideally I would like to place the menu in a simple xml structure like -

<div id="Navbar">
<a href="...">Introduction</a>
<a href="...">Sample Output</a>
add other menu titles/items here

And then use CSS to display the above XML (No, I don't want to go the xslt route ... my server side doesn't support it). Something similar to what Project Gutenberg uses for Three Men in a Boat (Excellent book, btw! A must read).

But I wonder if this will be the right approach. What will be the effect of this approach on search engines? Will it effect my (meagre) search rankings? (since the tags menutitle and menuitem will be non-standard).

Another approach will be to use lists (<ul>) tags as detailed in A List Apart. Or the dotted menu demonstrated at Blue Robot.

But I don't see menus as lists and so I'm still confused as to what approach should I go for!


Kaprekar Series Site: Used PHP.

I converted the Kaprekar Series Generator site from a frame based navigation to a php-based site (with the navigation included in the template). Also, I've used CSS ... I'm not sure if it would work on all browsers. I've tested it with Firefox and IE. Lemme know if it doesn't work on your browser.

Check it out at http://kaprekar.sourceforge.net


Playing with Numbers
I finished generating the Kaprekar series for 2-digit to 50-digit numbers. While my pc was still chugging along for larger digits, I looked for "patterns" in the first 50 entries.

I've placed the results in the kaprekar site in a section titled Playing with numbers.