<?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/"
	>

<channel>
	<title>Some stuff &#187; answer</title>
	<atom:link href="http://blog.yhuang.org/?feed=rss2&#038;tag=answer" rel="self" type="application/rss+xml" />
	<link>https://blog.yhuang.org</link>
	<description>here.</description>
	<lastBuildDate>Wed, 27 Aug 2025 08:50:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>a polynomial problem</title>
		<link>https://blog.yhuang.org/?p=291</link>
		<comments>https://blog.yhuang.org/?p=291#comments</comments>
		<pubDate>Mon, 22 Nov 2010 21:52:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[expansion]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[integer coefficients]]></category>
		<category><![CDATA[math math]]></category>
		<category><![CDATA[mathbb]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[number math]]></category>
		<category><![CDATA[polynomial coefficients]]></category>
		<category><![CDATA[positive integer]]></category>

		<guid isPermaLink="false">http://allegro.mit.edu/~zong/wpress/?p=291</guid>
		<description><![CDATA[The latest problem from fakalin. Took some wrong turns and hints to solve it&#8230; Given a polynomial with positive integer coefficients, how many evaluations of does it take to obtain the polynomial? (An polynomial with real coefficients would take the number of degrees plus 1 to specify, which, if it held in this case, would [...]]]></description>
			<content:encoded><![CDATA[<p>The latest problem from fakalin. Took some wrong turns and hints to solve it&#8230;</p>
<p>Given a polynomial \(f: \mathbb{Z}\to \mathbb{Z}\) with positive integer coefficients, how many evaluations of \(f\) does it take to obtain the polynomial?</p>
<p>(An \(f: \mathbb{R}\to \mathbb{R}\) polynomial with real coefficients would take the number of degrees plus 1 to specify, which, if it held in this case, would render the answer unbounded. But the correct answer in this case is surprisingly small.)<br />
<span id="more-291"></span><br />
It takes only 2 evaluations. Suppose in the following that \(b>0\). Let us note that a polynomial \(f(b) = a_n b^n + &#8230; + a_0 b^0\) specifies essentially a base \(b\) representation of the number \(f(b)\), in that \(a_n a_{n-1} &#8230; a_0\) is an expansion of \(f(b)\) in base \(b\). The only problem is this expansion is non-unique, as it is possible for any \(a_j \ge b\).</p>
<p>However, it is not possible for any \(a_j \ge f(b) + 1\), since for all \(j\), \(f(b) \ge a_j\) by the problem statement and assumption on \(b\). Then take \(B = f(b) + 1\). Now we are guaranteed that \(a_n a_{n-1} &#8230; a_0\) is the unique (and canonical) base \(B\) expansion of \(f(B)\), from which the polynomial coefficients immediately obtain.</p>
<p>So the two evaluations are at \(f(b)\) and \(f(B=f(b)+1)\).</p>
<p>Example: \(f(b) = 3b^2 + 2b + 1\). Evaluate at, e.g., \(b=1\) to get \(f(1) = 6\). Then evaluate at \(B=f(1)+1=7\) to get \(f(7)=162=321_{7}\).</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=291</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>escalator</title>
		<link>https://blog.yhuang.org/?p=288</link>
		<comments>https://blog.yhuang.org/?p=288#comments</comments>
		<pubDate>Thu, 18 Nov 2010 18:45:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[escalators]]></category>
		<category><![CDATA[four faces]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[step blocks]]></category>
		<category><![CDATA[today]]></category>
		<category><![CDATA[track]]></category>
		<category><![CDATA[turning radius]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=288</guid>
		<description><![CDATA[How do escalators work? I&#8217;ve wondered for years how escalators recycled their step blocks internally. At one point I thought they slid past each other on all four faces to save on turning radius (because I thought the blocks locked along grooves). Today I see an escalator under repair. Now the answer is clear. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>How do escalators work? I&#8217;ve wondered for years how escalators recycled their step blocks internally. At one point I thought they slid past each other on all four faces to save on turning radius (because I thought the blocks locked along grooves). Today I see an escalator under repair. Now the answer is clear. It&#8217;s much simpler than that: the blocks just turn along a track in the most obvious way imaginable.</p>
<p><img src="wp-content/uploads/images/escalator.jpg" width="600" /></p>
<p><span id="more-288"></span><br />
Also, world&#8217;s shortest escalator:</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/FSLwCImWv-c?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FSLwCImWv-c?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=288</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a card problem</title>
		<link>https://blog.yhuang.org/?p=281</link>
		<comments>https://blog.yhuang.org/?p=281#comments</comments>
		<pubDate>Sun, 26 Sep 2010 05:33:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[52 cards]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[deck of cards]]></category>
		<category><![CDATA[face]]></category>
		<category><![CDATA[fakalin]]></category>
		<category><![CDATA[full deck of cards]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[math cards]]></category>
		<category><![CDATA[number of cards]]></category>
		<category><![CDATA[subdeck]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=281</guid>
		<description><![CDATA[Here is a problem quoted from fakalin. A full deck of cards has 52 cards. Suppose 10 of them were face up and 42 were face down. You are in a dark room holding the deck. How do you rearrange the deck into two subdecks so that they have the same number of cards facing [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a problem quoted from fakalin. A full deck of cards has 52 cards. Suppose 10 of them were face up and 42 were face down. You are in a dark room holding the deck. How do you rearrange the deck into two subdecks so that they have the same number of cards facing up?<br />
<span id="more-281"></span><br />
The cards can be flipped. So first, the specific numbers don&#8217;t matter. They don&#8217;t even have to be even numbers. The answer is simple.</p>
<p>Say there are \(n\) cards up in the full deck. If you just divide the deck without flipping cards, then however you divide, one subdeck will have \(m\in [0,n]\) cards up, and the other subdeck will have the complement \(n-m\) cards up. So take \(n\) cards out of the original deck as subdeck A, and <u>flip them over</u>. If this subdeck A had \(m\) cards up originally, now it has \(n-m\) cards up. In the remaining cards forming subdeck B, there were already \(n-m\) cards up. So the two subdecks have an equal number of cards up.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=281</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>can you tell Asians apart?</title>
		<link>https://blog.yhuang.org/?p=268</link>
		<comments>https://blog.yhuang.org/?p=268#comments</comments>
		<pubDate>Tue, 18 May 2010 00:16:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[asians]]></category>
		<category><![CDATA[faces]]></category>
		<category><![CDATA[Identify]]></category>
		<category><![CDATA[Katsuya]]></category>
		<category><![CDATA[katsuya okada]]></category>
		<category><![CDATA[korea]]></category>
		<category><![CDATA[left japan]]></category>
		<category><![CDATA[Myung-hwan]]></category>
		<category><![CDATA[Okada]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=268</guid>
		<description><![CDATA[There is a Chinese, a Japanese, and a Korean in here. Identify them. As for the answer: From left Japan&#8217;s Katsuya Okada, Korea&#8217;s Yu Myung-hwan, and China&#8217;s Yang Jiechi I must say these are typical faces.]]></description>
			<content:encoded><![CDATA[<p>There is a Chinese, a Japanese, and a Korean in here. Identify them.<br />
<img src="wp-content/uploads/images/2010051701023_0.jpg" alt="http://english.chosun.com/site/data/img_dir/2010/05/17/2010051701023_0.jpg" /></p>
<p>As for the answer:<br />
<span id="more-268"></span><br />
From left Japan&#8217;s Katsuya Okada, Korea&#8217;s Yu Myung-hwan, and China&#8217;s Yang Jiechi</p>
<p>I must say these are typical faces.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=268</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>tax forms must be designed by idiots</title>
		<link>https://blog.yhuang.org/?p=71</link>
		<comments>https://blog.yhuang.org/?p=71#comments</comments>
		<pubDate>Sat, 07 Apr 2007 08:59:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[non residents]]></category>
		<category><![CDATA[reverse-engineering]]></category>
		<category><![CDATA[value calculations]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=71</guid>
		<description><![CDATA[CA income tax form is the worst. MA is only slightly better. The federal one is a disaster but at least I&#8217;m used to it. These things require reverse-engineering the spagetti code behind the instructions in order to see the actual calculations, which are all fairly simple. And yet, there is no logic to the [...]]]></description>
			<content:encoded><![CDATA[<p>CA income tax form is the worst.<br />
MA is only slightly better.<br />
The federal one is a disaster but at least I&#8217;m used to it.<br />
These things require reverse-engineering the spagetti code behind the instructions in order to see the actual calculations, which are all fairly simple. And yet, there is no logic to the instructions, like why the apportioning of income for non-residents need to be calculated multiple times, or why rate and value calculations are interleaved in random order, or why two forms that should give the same answer, don&#8217;t&#8230; Argh!</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=71</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
