Thursday, 29 November 2007

Beauty of Maths

Beauty of Math!

1 x 8 + 1 = 9
12 x 8 + 2 = 98
123 x 8 + 3 = 987
1234 x 8 + 4 = 9876
12345 x 8 + 5 = 98765
123456 x 8 + 6 = 987654
1234567 x 8 + 7 = 9876543
12345678 x 8 + 8 = 98765432
123456789 x 8 + 9 = 987654321

1 x 9 + 2 = 11
12 x 9 + 3 = 111
123 x 9 + 4 = 1111
1234 x 9 + 5 = 11111
12345 x 9 + 6 = 111111
123456 x 9 + 7 = 1111111
1234567 x 9 + 8 = 11111111
12345678 x 9 + 9 = 111111111
123456789 x 9 +10 = 1111111111

9 x 9 + 7 = 88
98 x 9 + 6 = 888
987 x 9 + 5 = 8888
9876 x 9 + 4 = 88888
98765 x 9 + 3 = 888888
987654 x 9 + 2 = 8888888
9876543 x 9 + 1 = 88888888
98765432 x 9 + 0 = 888888888

Brilliant, isn't it?

And look at this symmetry:

1 x 1 = 1
11 x 11 = 121
111 x 111 = 12321
1111 x 1111 = 1234321
11111 x 11111 = 123454321
111111 x 111111 = 12345654321
1111111 x 1111111 = 1234567654321
11111111 x 11111111 = 123456787654321
111111111 x 111111111 = 12345678987654321

This I got by a mail from my friend. Nice one..
By the way, are the results correctly?
So, from next time onwards, if any one asks you to write a program to print the pyramid of numbers, instead of writing using junk loops, use Maths to print it.

Thursday, 22 November 2007

Customized Newspaper

Blogging after a long time.. had been a little busy, I guess, these times.. ok..
Point is - again, looks like, one of my old junk idea is patented by Google :(
It is Google Magazine. I was thinking to have a newspaper in the way the reader wanted, i.e, based on his interests. Some may think business news should come in main paper and some may think sports should come in the main paper. Finally, wanted to say is - newspaper/magazine should be in the interest of the end user i.e., the reader.
They gave the caption as "Customization of Content and Advertisements in Publications.” They covered a lot in their patent like revenue in ads etc.
I just got this idea and mailed myself to work on it before 2005 July itself, but, never done it :( One problem you can see here is - printing. Google guyz patented it in 2006. I think they don't want to make it as a product. I guess - they want to enjoy the royality.
Whatever it may be, once again, I lost my chance, that too, to Google itself. I don't know whether I should feel happy or not.
One qn - can I ask royalty from Google by showing that mail? Waiting for responses

Monday, 5 November 2007

Nice movies that I watched

Watched 2 nice movies in the recent days - "Happy Days" and "Aakali Raajyam" - both are telugu movies :)
"Happy Days" - all about the college days. Haa man, awesome movie.. Nice fun filled one. How the ragging and how the friends will be moving and the fun moments between them and of course LOVE also are shown in the movie (many more fun scenes are there). But, I expected still more fun scenes in classrooms other than LOVE.
Totally, different from the above one is - "Aakali Rajyam" - Kamal Hasan's old movie in K.Balachander's direction. Ultimate piece of his creation - showing the problems faced by people searching for jobs (I hadn't mentioned all here). In that, there was one conversation, as,
A: Don't you have lunch?
B: We will have it once in a while.
What a heart touching one right! There are many such scenes and many communist related dialogues. Lot of problems they will be facing by him
But, I guess, its not the case now a days. Atleast, I can say it reduced a lot. Not that much unemployment, but still a lot. May be because of this, after watching the "Happy Days" movie, we prepared one more story saying "Jolly Days" - the next 4 years after B.Tech like the accommodation at the time of searching for jobs, attending interviews, initial days in office, facing the manager, house owners, going for trips, and some helping the family and finally entering the marriage phase etc.. (I hadn't mentioned a lot here) Aren't they jolly days if you got a right bunch of people around you - starting from your roommates, owners, office colleagues, your team, manager.. hmm.. and girl friend too
But, it is this bunch of people's responsibility to consider country's growth, involving in socialistic activities, inflation and everything and at the same time, enjoying :)