<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1" -->
<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/"
	>

<channel>
	<title>Yaniv's Gems</title>
	<link>http://yaniv.leviathanonline.com/blog</link>
	<description>Strain your Brain</description>
	<pubDate>Sun, 16 Nov 2008 00:02:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<item>
		<title>Hats in a Line</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/hats-in-a-line/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/hats-in-a-line/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 00:02:12 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/hats-in-a-line/</guid>
		<description><![CDATA[This riddle is a very cool extension of a well known (and easy) riddle, involving people with hats waiting in a line.
So, lets begin with the original:
]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2008/05/hats_small2.jpg" alt="hats_small2.jpg" title="hats_small2.jpg" />This riddle is a very cool extension of a well known (and easy) riddle, involving people with hats waiting in a line.</p>
<p>So, lets begin with the original:</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/hats-in-a-line/#more-160" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/hats-in-a-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Difference Between Area and Volume - Part I</title>
		<link>http://yaniv.leviathanonline.com/blog/math/the-difference-between-area-and-volume-part-i/</link>
		<comments>http://yaniv.leviathanonline.com/blog/math/the-difference-between-area-and-volume-part-i/#comments</comments>
		<pubDate>Fri, 16 May 2008 13:11:44 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/math/the-difference-between-area-and-volume-part-i/</guid>
		<description><![CDATA[I haven&#8217;t written new posts for a while now, as I have been very busy lately.
I think this is a very interesting post and I hope it will make up for the lack of updates. I also want to take this opportunity to thank all of you for posting lots of interesting comments and for sending me many ideas and riddles, thank you!
In this post [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written new posts for a while now, as I have been very busy lately.</p>
<p>I think this is a very interesting post and I hope it will make up for the lack of updates. I also want to take this opportunity to thank all of you for posting lots of interesting comments and for sending me many ideas and riddles, thank you!</p>
<p><strong><em>In this post (and its sequel) I will describe Hilbert&#8217;s 3rd problem and show how it is solved. I based the posts mainly on a lecture by Prof. David Gilat.</em></strong></p>
<p> <a href="http://yaniv.leviathanonline.com/blog/math/the-difference-between-area-and-volume-part-i/#more-156" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/math/the-difference-between-area-and-volume-part-i/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Valid Planar Pairing</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/valid-planar-pairing/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/valid-planar-pairing/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 16:19:19 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/valid-planar-pairing/</guid>
		<description><![CDATA[There are 100 red dots and 100 blue dots on the plane (a lot of planar riddles lately). The dots are arranged such that no three are on the same line.
A pairing of the red dots and the blue dots is a one-to-one function that assigns one blue dot to each red dot.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/11/pairing_icon.gif" alt="pairing_icon.gif" />There are 100 red dots and 100 blue dots on the plane (a lot of planar riddles lately). The dots are arranged such that no three are on the same line.</p>
<p>A <u><em>pairing</em></u> of the red dots and the blue dots is a one-to-one function that assigns one blue dot to each red dot.</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/valid-planar-pairing/#more-153" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/valid-planar-pairing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Uncountable Union</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/uncountable-union/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/uncountable-union/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 15:09:42 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/uncountable-union/</guid>
		<description><![CDATA[A very interesting riddle for those of you with some basic background in Set Theory.
]]></description>
			<content:encoded><![CDATA[<p><img align="middle" src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/06/easyriddle.gif" alt="easyriddle.gif" title="easyriddle.gif" />A very interesting riddle for those of you with some basic background in Set Theory.</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/uncountable-union/#more-151" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/uncountable-union/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Expanding Frogs</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/expanding-frogs/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/expanding-frogs/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 14:52:12 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/expanding-frogs/</guid>
		<description><![CDATA[A very easy riddle. Four frogs are sitting on the corners of the unit square (i.e. they have coordinates (0,0), (0,1), (1,1) and (1,0) ). Each turn, a frog can jump over any other frog, thereby transferring itself to the symmetrical point on the other side of the static frog. For example, if the frog at [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/11/frog.thumbnail.jpg" alt="frog.jpg" />A very easy riddle. Four frogs are sitting on the corners of the unit square (i.e. they have coordinates (0,0), (0,1), (1,1) and (1,0) ). Each turn, a frog can jump over any other frog, thereby transferring itself to the symmetrical point on the other side of the static frog. For example, if the frog at (0,0) jumps over the frog at (1,1) it will land on (2,2).</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/expanding-frogs/#more-150" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/expanding-frogs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Peons</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/peons/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/peons/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 17:08:45 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/peons/</guid>
		<description><![CDATA[ This is a cute puzzle. Consider an infinite checkerboard divided in two with an infinite line lying along the x-axis, as depicted below:
]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/10/peons_explain.thumbnail.jpg" alt="peons_explain.jpg" /> This is a cute puzzle. Consider an infinite checkerboard divided in two with an infinite line lying along the x-axis, as depicted below:</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/peons/#more-18" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/peons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Set it Straight!</title>
		<link>http://yaniv.leviathanonline.com/blog/math/set-it-straight/</link>
		<comments>http://yaniv.leviathanonline.com/blog/math/set-it-straight/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 03:08:45 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/math/set-it-straight/</guid>
		<description><![CDATA[In this post I will give a basic example of the necessity (or uselessness - its up to you to choose - pun intended) of the axiom of choice. I will also present a less known proof of the Cantor–Bernstein–Schroeder theorem.
The Cantor–Bernstein–Schroeder Theorem
Let A and B be sets. Let f:A-&#62;B and g:B-&#62;A be injective functions. Then there exists [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/10/sat_choice.thumbnail.jpg" alt="sat_choice.jpg" />In this post I will give a basic example of the necessity (or uselessness - its up to you to choose - pun intended) of the axiom of choice. I will also present a less known proof of the Cantor–Bernstein–Schroeder theorem.</p>
<p><strong><u>The Cantor–Bernstein–Schroeder Theorem</u></strong></p>
<p>Let A and B be sets. Let f:A-&gt;B and g:B-&gt;A be injective functions. Then there exists a bijection h:A-&gt;B.</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/math/set-it-straight/#more-147" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/math/set-it-straight/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Find the Duplicate</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/find-the-duplicate/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/find-the-duplicate/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 19:54:35 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<category><![CDATA[Comp]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/find-the-duplicate/</guid>
		<description><![CDATA[Dany Valevsky gave me this very cool riddle.
You are given a vector of size N, the elements of which are numbers in the range 1,&#8230;,N-1. I.e. there is at least one repeating element. Give an algorithm that finds a repeating element (it does not matter which one, in case there are several) with O(N) time complexity and [...]]]></description>
			<content:encoded><![CDATA[<p>Dany Valevsky gave me this very cool riddle.</p>
<p>You are given a vector of size N, the elements of which are numbers in the range 1,&#8230;,N-1. I.e. there is at least one repeating element. Give an algorithm that finds a repeating element (it does not matter which one, in case there are several) with O(N) time complexity and O(log(N)) memory complexity.</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/find-the-duplicate/#more-143" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/find-the-duplicate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pirates!</title>
		<link>http://yaniv.leviathanonline.com/blog/riddles/pirates/</link>
		<comments>http://yaniv.leviathanonline.com/blog/riddles/pirates/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 19:45:42 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Riddles]]></category>

		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/riddles/pirates/</guid>
		<description><![CDATA[A ship in the plane has integer coordinates. It also has integer velocity (again in ZxZ). Each turn the ship advances according to its velocity. Here is an example of a ship with velocity (3, 1).
]]></description>
			<content:encoded><![CDATA[<p><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/06/easyriddle.gif" alt="easyriddle.gif" />A ship in the plane has integer coordinates. It also has integer velocity (again in ZxZ). Each turn the ship advances according to its velocity. Here is an example of a ship with velocity (3, 1).</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/riddles/pirates/#more-141" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/riddles/pirates/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Turing Machines in Action</title>
		<link>http://yaniv.leviathanonline.com/blog/comp/turing-machines-in-action/</link>
		<comments>http://yaniv.leviathanonline.com/blog/comp/turing-machines-in-action/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 20:49:18 +0000</pubDate>
		<dc:creator>yaniv</dc:creator>
		
		<category><![CDATA[Comp]]></category>

		<guid isPermaLink="false">http://yaniv.leviathanonline.com/blog/comp/turing-machines-in-action/</guid>
		<description><![CDATA[ In this post I will define turing machines and demonstrate a simple one in action.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://leviathanonline.com/wordpress/wp-content/uploads/2007/10/tmbinaryaddreverse.gif" title="tmbinaryaddreverse.gif"><img src="http://leviathanonline.com/wordpress/wp-content/uploads/2007/10/tmbinaryaddreverse.thumbnail.gif" alt="tmbinaryaddreverse.gif" /></a> In this post I will define turing machines and demonstrate a simple one in action.</p>
<p> <a href="http://yaniv.leviathanonline.com/blog/comp/turing-machines-in-action/#more-137" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yaniv.leviathanonline.com/blog/comp/turing-machines-in-action/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
