<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: For the integers between 0 and 100. How many have the digit 7 in them?</title>
	<atom:link href="http://fatagnus.com/for-the-integers-between-0-and-100-how-many-have-the-digit-7-in-them/feed/" rel="self" type="application/rss+xml" />
	<link>http://fatagnus.com/for-the-integers-between-0-and-100-how-many-have-the-digit-7-in-them/</link>
	<description>One is glad to be of service</description>
	<pubDate>Wed, 08 Sep 2010 02:48:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Seruyange</title>
		<link>http://fatagnus.com/for-the-integers-between-0-and-100-how-many-have-the-digit-7-in-them/comment-page-1/#comment-84467</link>
		<dc:creator>David Seruyange</dc:creator>
		<pubDate>Mon, 08 Feb 2010 04:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://fatagnus.com/?p=412#comment-84467</guid>
		<description>Those 70s are tricky.

            int count = Enumerable
                            .Range(0, 101)
                            .Where(n =&gt; n.ToString().Contains("7"))
                            .Count();
            Console.WriteLine(count);</description>
		<content:encoded><![CDATA[<p>Those 70s are tricky.</p>
<p>            int count = Enumerable<br />
                            .Range(0, 101)<br />
                            .Where(n =&gt; n.ToString().Contains(&#8221;7&#8243;))<br />
                            .Count();<br />
            Console.WriteLine(count);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Slater</title>
		<link>http://fatagnus.com/for-the-integers-between-0-and-100-how-many-have-the-digit-7-in-them/comment-page-1/#comment-83718</link>
		<dc:creator>Richard Slater</dc:creator>
		<pubDate>Sun, 31 Jan 2010 15:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://fatagnus.com/?p=412#comment-83718</guid>
		<description>My thinking was as follows:

If you treat each number as a series of Hundreds, Units and Tens you would have a 100 x 3 grid

001
002
003
.
.
.
099
100

You can discount the hundreds as that will be either 0 or 1, never 7. After that you can see that each column would have 7 ten times each; with one row that both the tens and the units would be 7.

Personally I find it very helpful thinking of sets of numbers with their leading zeros (or right aligned if you prefer).</description>
		<content:encoded><![CDATA[<p>My thinking was as follows:</p>
<p>If you treat each number as a series of Hundreds, Units and Tens you would have a 100 x 3 grid</p>
<p>001<br />
002<br />
003<br />
.<br />
.<br />
.<br />
099<br />
100</p>
<p>You can discount the hundreds as that will be either 0 or 1, never 7. After that you can see that each column would have 7 ten times each; with one row that both the tens and the units would be 7.</p>
<p>Personally I find it very helpful thinking of sets of numbers with their leading zeros (or right aligned if you prefer).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Jensen</title>
		<link>http://fatagnus.com/for-the-integers-between-0-and-100-how-many-have-the-digit-7-in-them/comment-page-1/#comment-83643</link>
		<dc:creator>Mark Jensen</dc:creator>
		<pubDate>Sat, 30 Jan 2010 19:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://fatagnus.com/?p=412#comment-83643</guid>
		<description>Answer: 19

You have 7, 17, 17 … 97 and also 70, 71 … 79.

The most common answer seems to be 10 and then second most common answer is 11. Some people also say 20, because they count 77 twice.</description>
		<content:encoded><![CDATA[<p>Answer: 19</p>
<p>You have 7, 17, 17 … 97 and also 70, 71 … 79.</p>
<p>The most common answer seems to be 10 and then second most common answer is 11. Some people also say 20, because they count 77 twice.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
