Saturday, May 22, 2004

Golden Ratio

Of late, I have read a lot about Golden Ratio and why it is also called
the devine number. For example, Golden Ratio hashing is among the best
known hash algorithms. Don Knuth, in chapter 2 of Metafont draws an
'A' the area of the upper half to lower half is 0.618. The same ratio
occurs all throughout our skeleton structure - see Dan Brown - "Da
Vince Code"

Sunday, May 16, 2004

Infinite number of twin primes

I think I have a proof of the fact that there are indeed
an infinite number of twin primes. But I am not
a professional mathematician and shy about my proof.
The proof seems so simple, that I wonder why nobody else
discovered it so far (Am I correct about this one?). That
makes me doubt my proof.

Can anybody help review it?
Here comes the answer

The C99 draft specification says section 6.10.3.4

If the name of the macro being replaced is found during this scan of the replacement list (not including the rest of the source file s preprocessing tokens), it is not replaced.

Ranking and Unranking permutations

I've been a big fan of Skiena's Algorithm Design Manual , I recently found my first edition of the book (although I own the third ed...