<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Just another blog</title>
	<atom:link href="http://fantasticbore.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fantasticbore.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 14:12:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fantasticbore.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Just another blog</title>
		<link>http://fantasticbore.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fantasticbore.wordpress.com/osd.xml" title="Just another blog" />
	<atom:link rel='hub' href='http://fantasticbore.wordpress.com/?pushpress=hub'/>
		<item>
		<title>I am back</title>
		<link>http://fantasticbore.wordpress.com/2012/01/25/i-am-back/</link>
		<comments>http://fantasticbore.wordpress.com/2012/01/25/i-am-back/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 12:49:21 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/?p=730</guid>
		<description><![CDATA[Alright, after a lot of flattering, pleading and threats from my incredible large fan base, which, once again, is mostly made up of my alter egos and of course the rubber duck at my desk, I have decided to rise from the dead, not zombie style, more in the fashion of Terminator T-800&#8230; back from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=730&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Alright, after a lot of flattering, pleading and threats from my incredible large fan base, which, once again, is mostly made up of my alter egos and of course the rubber duck at my desk, I have decided to rise from the dead, not zombie style, more in the fashion of Terminator T-800&#8230; back from the beyond to kick some ass and deliver punch dialogue. </p>
<p>So why back here? What happened to the other domain you ask? What? you are not curious to know that? Ok fine, I wont say. </p>
<p>I miss writing, I really do, it is one of the few things that make me feel good. Anyway, I am back, with a new theme and all and I am heading off to the nearest bar to say &#8216;I need your clothes, your boots and your motorcycle&#8217;, pray I dont get punched in the eye.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=730&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2012/01/25/i-am-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>Adios WordPress!</title>
		<link>http://fantasticbore.wordpress.com/2010/12/16/adios-wordpress/</link>
		<comments>http://fantasticbore.wordpress.com/2010/12/16/adios-wordpress/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 17:31:19 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/?p=722</guid>
		<description><![CDATA[Dear WordPress, Thank you for letting me park my thoughts here for the last three years. Its time for me to move on. I will miss you. kay-k p.s to the dozen people who follow this blog (including ten of my alter egos and the rubber duck sitting in my desk), this is my new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=722&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dear WordPress, </p>
<p>Thank you for letting me park my thoughts here for the last three years. Its time for me to move on. I will miss you. </p>
<p>kay-k</p>
<p>p.s to the dozen people who follow this blog (including ten of my alter egos and the rubber duck sitting in my desk), this is my new <a href="http://www.thefrood.com">abode</a>. Thats <a href="http://www.thefrood.com">www.thefrood.com</a>. Drop by! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=722&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/12/16/adios-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>The Almost Forgotten</title>
		<link>http://fantasticbore.wordpress.com/2010/12/07/the-almost-forgotten/</link>
		<comments>http://fantasticbore.wordpress.com/2010/12/07/the-almost-forgotten/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:56:28 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/12/07/the-almost-forgotten/</guid>
		<description><![CDATA[How often do you remember the people who journeyed along with you in the past, the folks who at some point were pleasant company, good friends you might say, at that point, but later on drifted away? I remembered one this morning, was casually flicking through the newspaper, looked at the date at the top [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=720&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>How often do you remember the people who journeyed along with you in the past, the folks who at some point were pleasant company, good friends you might say, at that point, but later on drifted away? I remembered one this morning, was casually flicking through the newspaper, looked at the date at the top corner and bam! gears whirled in my head, conversations from the past came rushing out of nowhere, screaming like seagulls on the coast and I let out a silent ah! wondering how the old fucker was doing. Anyway, I have no means of contacting and wishing the fella, and besides I am not very keen on kindling old friendships, its never the same as it once was.</p>
<p>These memories are like the stuff in the attic, old relics that held some significance in the past, only now they are a dump that one occasionally visits to brush away the dust, allowing it to settle down in a different pattern. Sigh.</p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=720&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/12/07/the-almost-forgotten/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>current while(1) song</title>
		<link>http://fantasticbore.wordpress.com/2010/11/23/current-while1-song/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/23/current-while1-song/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 13:10:14 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/23/current-while1-song/</guid>
		<description><![CDATA[I suppose everyone goes through this &#8211; wake up with a song struck in your head, hum it everywhere starting from the shower all the way to work, loop the song on your media player and cock your head like a drunken ostrich trying kung fu tricks, Perhaps not the kung fu part, but definitely [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=713&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>I suppose everyone goes through this &#8211; wake up with a song struck in your head, hum it everywhere starting from the shower all the way to work, loop the song on your media player and cock your head like a drunken ostrich trying kung fu tricks, Perhaps not the kung fu part, but definitely the rest. Anyway, I have been doing that to this song all day long.</p>
<span style="text-align:center; display: block;"><a href="http://fantasticbore.wordpress.com/2010/11/23/current-while1-song/"><img src="http://img.youtube.com/vi/-tD06e0SycI/2.jpg" alt="" /></a></span>
</p></div>
<p>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/713/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/713/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=713&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/23/current-while1-song/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>1984 vs Brave New World</title>
		<link>http://fantasticbore.wordpress.com/2010/11/19/1984-vs-brave-new-world/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/19/1984-vs-brave-new-world/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 13:53:45 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/19/1984-vs-brave-new-world/</guid>
		<description><![CDATA[So.. who was right??? Huxley? &#160; Pic taken from: http://www.recombinantrecords.net/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=707&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p><img src="http://fantasticbore.files.wordpress.com/2010/11/media_httpiimgurcomcp_jbcce-scaled500.jpg?w=500&#038;h=3951" width="500" height="3951" /> </p>
<p>So.. who was right??? Huxley?</p>
<p>&nbsp;</p>
<p>Pic taken from: <a href="http://www.recombinantrecords.net/">http://www.recombinantrecords.net/</a></p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/707/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/707/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=707&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/19/1984-vs-brave-new-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>

		<media:content url="http://fantasticbore.files.wordpress.com/2010/11/media_httpiimgurcomcp_jbcce-scaled500.jpg?w=37" medium="image" />
	</item>
		<item>
		<title>Problem 24</title>
		<link>http://fantasticbore.wordpress.com/2010/11/18/problem-24-2/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/18/problem-24-2/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 11:19:50 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/18/problem-24-2/</guid>
		<description><![CDATA[Problem 24 in euler&#8217;s deals with getting the millionth lexicographical permutation of the digits 0-9. Generating permutations is not a big deal, quickly plunged into the problem and brute forced it into submission. def problem24(): def perms_gen(seq): if len(seq): for i in range(len(seq)): curr = seq[i] remaining = seq[:i] + seq [i+1:] for gen in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=703&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p><a href="http://projecteuler.net/index.php?section=problems&amp;id=24">Problem 24</a> in euler&#8217;s deals with getting the millionth lexicographical permutation of the digits 0-9. Generating permutations is not a big deal, quickly plunged into the problem and brute forced it into submission.
<p /></p>
<pre>

def problem24():
    def perms_gen(seq):
        if len(seq):
            for i in range(len(seq)):
                curr = seq[i]
                remaining = seq[:i] + seq [i+1:]
                for gen in perms_gen(remaining):
                    yield [curr] + gen
        else:
            yield []

    i = 1
    perms = perms_gen(range(10));
    while i &lt; 1000000:
        perms.next()
        i+=1
    print &#039;&#039;.join([str(i) for i in a.next()])

problem24()
</pre>
<p>The drawback was that the whole thing ran for over 10 seconds. Anyway after unlocking the problem, I checked out some of the solutions and had a why-dint-i-think-of-that moment reading this.
<p /></p>
<blockquote><p>euler&nbsp;&nbsp; (PHP)&nbsp; euler is from England<br />I&#8217;m not sure how md2perpe did it, but when I was developing this problem I initially solved it by hand.
<p />We know that there are n! permutations for n distinct digits and, as we&#8217;re working in lexicographical order, after 9! permutations the ten digit string will have become: 0987654321. The 9!+1 permutation will be 1023456789, the 2*9!+1=725761 permutation will be 2013456789. However, the 3*9!+1 permutation (3012456789) will be greater than one million. So we now consider the permutations of the last nine digits, 013456789: 6*8!+1 will take it to 701345689. We have now computed 967681 permutations and arrived at the number 2701345689. Then we look at the last eight digits, and work out that a further 6*7!+1 takes it to the string 2780134569 and a total of 997921 permutations&#8230;
<p />Once I discovered this method, and rather than continue by hand, I wrote a programme to complete this (tedious) task for any given number of permutations.</p></blockquote>
<p>Anyway, i have moved into level 1 and got myself a badge here</p>
<p><img src="http://posterous.com/getfile/files.posterous.com/karthikk/yjxIimeyJkdpDontzfwprqefGEuDxrxwsyaronmlpnEgdblfgBowEGwlzvdv/media_httpprojecteule_CbhDm.png.scaled500.png" width="200" height="60" /> </p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/703/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=703&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/18/problem-24-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>

		<media:content url="http://posterous.com/getfile/files.posterous.com/karthikk/yjxIimeyJkdpDontzfwprqefGEuDxrxwsyaronmlpnEgdblfgBowEGwlzvdv/media_httpprojecteule_CbhDm.png.scaled500.png" medium="image" />
	</item>
		<item>
		<title>Tomato Red</title>
		<link>http://fantasticbore.wordpress.com/2010/11/12/tomato-red/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/12/tomato-red/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 13:36:29 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/12/tomato-red/</guid>
		<description><![CDATA[My team mates gifted me a tomato red coloured t-shirt on my birthday, yes, a tomato red tee. I usually pick and wear neutral colours, colours like muddy brown, dung brown, dry dung brown, dry cement grey, wet cement grey, dung ash grey, volcanic ash grey, slate grey, colours that would blend me into the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=694&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>My team mates gifted me a tomato red coloured t-shirt on my birthday,  yes, a tomato red tee. I usually pick and wear neutral colours, colours  like muddy brown, dung brown, dry dung brown, dry cement grey, wet cement grey, dung ash grey, volcanic ash grey, slate grey, colours that would blend me into  the walls and make me as inconspicuous as possible. I am a little partial to green and at times,  when I feel a bit adventurous, I go for something bright, like say, mossy  green.
<p />  There is no way I would ever go for tomato red, any red for that matter,  even if I got real high on acid, stripped off all my clothes, ran into  the streets and had helicopters with chopper lights and TV camera crews  on board irradiating my nakedness and the only way to stop my  pulchritudinous nudity from being broadcast to 800,000 cities worldwide  and accidentally to any extra terrestial life trying to get a glimpse of  life on earth would be to wear a tomato red garment lying by my side, not even then, I  wouldnt even bother looking at it, instead I would put on my sunglasses  and wave stuff all the stuff at my disposal at the cameras.
<p />  Anyway, it was a gift from friends and so I cast aside my irrationalities and  wore the shirt. I went to the mirror to get an opinion, both me and the guy in the mirror were surprised, the shirt looked great and I.. I took an instant liking for the color.
<p />  I went to my wardrobe, opened it and stood before the racks. I patted on the shirt like a teacher praising his favourite student in front of the  class and poured scorn on all the grey shirts for not being as good as tomato red. I dint realise till then that I had so many fucking greys,  what a pointless colour!
<p />  Well, that&#8217;s one colour off my dont-even-think-about-wearing list, thanks to folks from work. Let me see what else is on the list.. ah&#8230; pink.. hmm&#8230;</p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/694/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/694/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/694/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=694&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/12/tomato-red/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>So it goes&#8230;</title>
		<link>http://fantasticbore.wordpress.com/2010/11/11/so-it-goes/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/11/so-it-goes/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 08:49:16 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/11/so-it-goes/</guid>
		<description><![CDATA[On this day, back in the year 1922, was born a genius, a man who inspired millions by his humour, wit and humanism. There is no one better at presenting the human nature in such a simple and goofy way and yet leave us with a powerful urge to lead a kinder, gentler and wiser [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=690&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>On this day, back in the year 1922, was born a genius, a man who inspired millions by his humour, wit and humanism. There is no one better at presenting the human nature in such a simple and goofy way and yet leave us with a powerful urge to lead a kinder, gentler and wiser life.</p>
<p>Some of the gems that come to my mind when I think of him are</p>
<blockquote class="posterous_short_quote"><p>We are healthy only to the extent that our ideas are humane.</p>
<p>Take Care of the People, and God Almighty Will Take Care of Himself.</p>
</blockquote>
<p>He also said..</p>
<blockquote><p><span class="huge">I tell you, we are here on Earth to fart around, and don&#8217;t let anybody tell you different.</span></p>
</blockquote>
<p>.. and I agree. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Remember the man. Remember Kurt Vonnegut Jr.</p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/690/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=690&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/11/so-it-goes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>The Trial</title>
		<link>http://fantasticbore.wordpress.com/2010/11/10/the-trial/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/10/the-trial/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 12:20:44 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/10/the-trial/</guid>
		<description><![CDATA[Read my first Kafka last weekend, The Trial, the story follows the trial of Josef K, the protagonist, who has absolutely no idea what his trial is about. The book is funny, the absurdity of being tried for a crime that is not specified throughout the course of the trial is, if not anything else, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=685&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>Read my first Kafka last weekend, The Trial, the story follows the trial of Josef K, the protagonist, who has absolutely no idea what his trial is about. The book is funny, the absurdity of being tried for a crime that is not specified throughout the course of the trial is, if not anything else, comical, but it had a nervy edge to it, it was like the funny you experience when you hear your boss crack a joke and are unsure if it was a joke or not and whether it would be alright to laugh out loud at it and so on.</p>
<p>Consider this, K is accused of a crime, the nature of which is not known to him and is impossible to glean from the courts, for the proceedings are conducted at whim, without his knowledge or his presence, and even if it were conducted in his presence, it would be near impossible to mount a defence without knowing what the hell he is accused of. He tries hiring a lawyer, who, it turns out, is only slightly better placed than him in learning the nature of case. Sure enough, he fires his lawyer and considers taking up the case himself. The whole affair is so terrifyingly ridiculous that one cant help doubting if it is nothing more than a fabrication of a deranged mind.
<p />The book maintains its humor almost till the end where things take a rather bleak turn. The doorkeeper parable(an engaging read on the nature of law which can be read independent of the novel) serves as a prelude to darker things and sure enough, K meets his rather unexpected end.</p>
<p>Any mention of dystopia brings 1984 to mind and sure enough I ended up contrasting The Trial with 1984. While the latter deals with one man&#8217;s fight against a known enemy, albeit an insurmountable one, the former portrays the helplessness of an individual against a soulless behemoth beyond comprehension, what good is resistance when you dont know what you are resisting. In 1984, for all the troubles Winston Smith undergoes, I most definitely expected him to end up dead(it could be said that he is dead in a manner of speaking) but K&#8230; everything about the trial was so frivolous that I did not expect him to be put away, &#8216;like a dog&#8217;.
<p />On the whole wasnt really overawed, one reason could be that Kafka did not complete the book and it was only published posthumously, the other could be that translation I picked up was average. Nevertheless it was a funny, dark and engaging read.</p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/685/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=685&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/10/the-trial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
		<item>
		<title>Not a teen anymore</title>
		<link>http://fantasticbore.wordpress.com/2010/11/09/not-a-teen-anymore/</link>
		<comments>http://fantasticbore.wordpress.com/2010/11/09/not-a-teen-anymore/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 09:30:28 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[I Think]]></category>

		<guid isPermaLink="false">http://fantasticbore.wordpress.com/2010/11/09/not-a-teen-anymore/</guid>
		<description><![CDATA[Yes, I am no longer a teen, starting today. At heart I am, but for the records no longer. One thing that i have observed with my birthdays is that, barring a very few close friends, its always my family that really remembers my birthday and treats it like the second coming. It amazes me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=682&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p>Yes, I am no longer a teen, starting today. At heart I am, but for the records no longer.
<p />One thing that i have observed with my birthdays is that, barring a very few close friends, its always my family that really remembers my birthday and treats it like the second coming. It amazes me that my folks, athai folks and peripa folks never ever forget it, despite my surly demeanor and detached attitude when we are together, surely I do not deserve such affection. Its high time I reciprocated.
<p />I dont celebrate birthdays like most people do, but I do stop and look back at the year that has just gone by. It was a mixed year, had both highs and lows. I acted childishly at times, but that is what made the year fun, made new friends, lost them, hit the gym regularly, I started travelling, I have to say that it was a memorable year, but if someone offered me a chance to re-live it, my reply would be &#8211; meh.. no thanks.. do you have ice creams instead?
<p />Generally I tend to be disappointed with such retrospection. At the beginning of each year, I set myself lofty goals but follow it up with little or no action and slowly sink into the mire of mediocrity. This year though, I am going to do things different(ok, i said that to myself last year too, and the one before and the.. ). This year I am going to act aloof, focus on doing the small things right, and slowly sneak up on the goals and crush them, muwhahahahaha. Yes, I am a lot more optimistic about the coming year that I usually am.
<p />Anyway, heres me wishing for a great year ahead, a year where I hope to learn new things, do stuff I have never done before, read some fine books, dream big and hopefully end up wiser that what I am today. Cheers.</p>
</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fantasticbore.wordpress.com/682/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fantasticbore.wordpress.com/682/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fantasticbore.wordpress.com/682/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fantasticbore.wordpress.com&amp;blog=2755822&amp;post=682&amp;subd=fantasticbore&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fantasticbore.wordpress.com/2010/11/09/not-a-teen-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d26574d5c1c538a85b7d87078dfceecd?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">Kay-K</media:title>
		</media:content>
	</item>
	</channel>
</rss>
