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

<channel>
	<title>remainder &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/remainder/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Sun, 25 Feb 2018 20:09:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.4</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>remainder &#8211; Problems in Mathematics</title>
	<link>https://yutsumura.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114989322</site>	<item>
		<title>The Trick of a Mathematical Game. The One&#8217;s Digit of the Sum of Two Numbers.</title>
		<link>https://yutsumura.com/the-trick-of-a-mathematical-game-the-ones-digit-of-the-sum-of-two-numbers/</link>
				<comments>https://yutsumura.com/the-trick-of-a-mathematical-game-the-ones-digit-of-the-sum-of-two-numbers/#respond</comments>
				<pubDate>Fri, 28 Jul 2017 01:08:41 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Math-Magic]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[math-magic]]></category>
		<category><![CDATA[modular arithmetic]]></category>
		<category><![CDATA[remainder]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=4101</guid>
				<description><![CDATA[<p>Decipher the trick of the following mathematical magic. &#160; The Rule of the Game Here is the game. Pick six natural numbers ($1, 2, 3, \dots$) and place them in the yellow discs of&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/the-trick-of-a-mathematical-game-the-ones-digit-of-the-sum-of-two-numbers/" target="_blank">The Trick of a Mathematical Game. The One's Digit of the Sum of Two Numbers.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 521</h2>
<p>Decipher the trick of the following mathematical magic.</p>
<p>&nbsp;<br />
<span id="more-4101"></span></p>
<h2>The Rule of the Game </h2>
<p>Here is the game.</p>
<p>Pick six natural numbers ($1, 2, 3, \dots$) and place them in the yellow discs of the picture below.</p>
<p><img src="https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-4.jpg?resize=960%2C720" alt="Math-Magic Tree empty" width="960" height="720" class="alignnone size-full wp-image-4102" srcset="https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-4.jpg?w=960&amp;ssl=1 960w, https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-4.jpg?resize=300%2C225&amp;ssl=1 300w, https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-4.jpg?resize=768%2C576&amp;ssl=1 768w" sizes="(max-width: 960px) 100vw, 960px" data-recalc-dims="1" /></p>
<p>For example, let&#8217;s say I have chosen the numbers $7, 5, 3, 2, 9, 4$.<br />
<img src="https://i0.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-3.jpg?resize=960%2C720" alt="Math-Magic Tree top row" width="960" height="720" class="alignnone size-full wp-image-4103" srcset="https://i0.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-3.jpg?w=960&amp;ssl=1 960w, https://i0.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-3.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-3.jpg?resize=768%2C576&amp;ssl=1 768w" sizes="(max-width: 960px) 100vw, 960px" data-recalc-dims="1" /></p>
<p>The next step is adding the adjacent two numbers and put the one&#8217;s digit of the sum in the discs connecting the two.</p>
<p>For example, look at the top-left numbers $7$ and $5$.</p>
<p>The sum is $7+5=12$, and the one&#8217;s digit is $2$. So I put $2$ in the blue disc below the discs of $7$ and $5$.</p>
<p>Repeat this procedure: Summing two numbers next to each other and write down the one&#8217;s digit of the sum below.</p>
<p>The number on the last disc ( the red one) is your result.</p>
<p>With my choice $7, 5, 3, 2, 9, 4$, I get<br />
<img src="https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-2.jpg?resize=960%2C720" alt="Math-Magic Tree filled" width="960" height="720" class="alignnone size-full wp-image-4104" srcset="https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-2.jpg?w=960&amp;ssl=1 960w, https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-2.jpg?resize=300%2C225&amp;ssl=1 300w, https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-2.jpg?resize=768%2C576&amp;ssl=1 768w" sizes="(max-width: 960px) 100vw, 960px" data-recalc-dims="1" /><br />
and the result is $1$.</p>
<p>This is the rule of the game.</p>
<h2>Lightning Speed Computation </h2>
<p>Now, let play this game with you.</p>
<p>Suppose that you chose the numbers are $6, 3, 11, 5, 2, 1$.<br />
Then you start the game. As soon as you write down the one&#8217;s digit of the first sum, I exclaim that the result is $2$!!<br />
(We will come back to this after explaining the trick.)</p>
<hr />
<p>How did I get the answer very quickly? Am I a computational generous that can calculate like a robot?</p>
<p>No.</p>
<p>There is a trick, a mathematical trick behind the game.</p>
<h2>A Secret Trick of the Mathematical Magic</h2>
<p>Let me give the conclusion first.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Trick</strong>.<br />
If the six numbers are $a, b, c, d, e, f$, then the result is given by the one&#8217;s digit of the number<br />
\[a+f+5(b+e).\]
<p>Furthermore, </p>
<ul>
<li>If $b+e$ is even, then the result is the one&#8217;s digit of $a+f$. </li>
<li>If $b+e$ is odd, then the result is the one&#8217;s digit of $a+f+5$.</li>
</ul>
</div>
<h3>Proof of the Trick</h3>
<p>Let $a, b, c, d, e, f$ be the chosen six natural numbers.</p>
<p>Here is an important observation.<br />
Even though we take the one&#8217;s digit after summing two numbers, the result will not change if we just sum numbers in each step except the last step (we take the one&#8217;s digit of the last entry).</p>
<p>So  we have the tree diagram<br />
<img src="https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/tree.jpg?resize=960%2C720" alt="Math-Magic Tree Trick" width="960" height="720" class="alignnone size-full wp-image-4105" srcset="https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/tree.jpg?w=960&amp;ssl=1 960w, https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/tree.jpg?resize=300%2C225&amp;ssl=1 300w, https://i1.wp.com/yutsumura.com/wp-content/uploads/2017/07/tree.jpg?resize=768%2C576&amp;ssl=1 768w" sizes="(max-width: 960px) 100vw, 960px" data-recalc-dims="1" /></p>
<p>So the result is the one&#8217;s digit of<br />
\[a+5b+10c+10d+5e+f.\]
<p>Note that the one&#8217;s digit of a number is the remainder when the number is divided by $10$.<br />
(If you know modular arithmetic, then this means that we compute modulo $10$.)</p>
<p>Thus, $10c$ and $10d$ give no contribution to the remainder.</p>
<p>It follows that the result is the one&#8217;s digit of<br />
\[a+5b+5e+f=a+f+5(b+e).\]
<hr />
<p>If $b+e$ is even, then $5(b+e)$ is a multiple of $10$.<br />
Hence the one&#8217;s digit of $5(b+e)$ is zero.</p>
<p>Thus if $b+e$ is even, then the result is the one&#8217;s digit of $a+f$.</p>
<hr />
<p>If $b+e$ is odd, then the one&#8217;s digit of $5(b+e)$ is always $5$.</p>
<p>Hence if $b+e$ is odd, then the result is the one&#8217;s digit of $a+f+5$.</p>
<hr />
<p>This is the trick of the game.</p>
<p>An interesting observation is that the middle numbers $c, d$ do not appear in the formula.</p>
<h2>Example </h2>
<p>Let&#8217;s go back the numbers $6, 3, 11, 5, 2, 1$.</p>
<p>In this case, $a=6, b=3, c=11, d=5, e=2, f=1$.</p>
<p>We compute<br />
\[a+f+5(b+e)=6+1+5(3+2)=7+25=32\]
and the one&#8217;s digit of $32$ is $2$.</p>
<p>Thus the result is $2$ as I exclaimed before.</p>
<hr />
<p>The faster way is to determine the parity of $b+e$ first.<br />
Since $b+e=3+2=5$ is odd, the result is the one&#8217;s digit of $a+f+5=6+1+5$, and hence the result is $2$.</p>
<hr />
<p>If you don&#8217;t know the formula then you would complete the tree diagram like this:<br />
<img src="https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-5.jpg?resize=960%2C720" alt="Math-Magic Tree example" width="960" height="720" class="alignnone size-full wp-image-4106" srcset="https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-5.jpg?w=960&amp;ssl=1 960w, https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-5.jpg?resize=300%2C225&amp;ssl=1 300w, https://i2.wp.com/yutsumura.com/wp-content/uploads/2017/07/Untitled-drawing-5.jpg?resize=768%2C576&amp;ssl=1 768w" sizes="(max-width: 960px) 100vw, 960px" data-recalc-dims="1" /><br />
and clearly it takes more time to get the result without the trick.</p>
<h3>Modulo $10$</h3>
<p>Here is a tip to use the formula $a+f+5(b+e)$.</p>
<p>If the numbers are relatively small, then just compute it and find the one&#8217;s digit.</p>
<p>But remember that you can always do modulo $10$ computation anytime. (Considering the one&#8217;s digit or the remainder of division by $10$.)</p>
<p>For example, if $a=11, f=29, b=17, e=104$ are given, I first find the one&#8217;s digits of them and can assume that $a=1, f=9, b=7, e=4$.</p>
<p>Then $a+f=10$ and the one&#8217;s digit is $0$. So I can safely ignore the $a+f$ part in the formula.<br />
Next, $b+e=11$ and the one&#8217;s digit is $1$.<br />
(Or you could first determine the parity of $b+e$.)</p>
<p>Thus by the formula, the result is $5$.</p>
<h2>Do Practice and Have some Fun! </h2>
<p>Practice how to use the formula several times and get used to it.</p>
<p>Then show off your machinelike computational skill and amaze your friend!!</p>
<button class="simplefavorite-button has-count" data-postid="4101" data-siteid="1" data-groupid="1" data-favoritecount="20" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">20</span></button><p>The post <a href="https://yutsumura.com/the-trick-of-a-mathematical-game-the-ones-digit-of-the-sum-of-two-numbers/" target="_blank">The Trick of a Mathematical Game. The One's Digit of the Sum of Two Numbers.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-trick-of-a-mathematical-game-the-ones-digit-of-the-sum-of-two-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">4101</post-id>	</item>
		<item>
		<title>The Ring $\Z[\sqrt{2}]$ is a Euclidean Domain</title>
		<link>https://yutsumura.com/the-ring-zsqrt2-is-a-euclidean-domain/</link>
				<comments>https://yutsumura.com/the-ring-zsqrt2-is-a-euclidean-domain/#comments</comments>
				<pubDate>Sat, 08 Jul 2017 04:56:07 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Ring theory]]></category>
		<category><![CDATA[Division Algorithm]]></category>
		<category><![CDATA[Euclidean Domain]]></category>
		<category><![CDATA[field norm]]></category>
		<category><![CDATA[norm]]></category>
		<category><![CDATA[quotient]]></category>
		<category><![CDATA[remainder]]></category>
		<category><![CDATA[ring]]></category>
		<category><![CDATA[ring of integers]]></category>
		<category><![CDATA[ring theory]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3525</guid>
				<description><![CDATA[<p>Prove that the ring of integers \[\Z[\sqrt{2}]=\{a+b\sqrt{2} \mid a, b \in \Z\}\] of the field $\Q(\sqrt{2})$ is a Euclidean Domain. &#160; Proof. First of all, it is clear that $\Z[\sqrt{2}]$ is an integral domain&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/the-ring-zsqrt2-is-a-euclidean-domain/" target="_blank">The Ring $\Z[\sqrt{2}]$ is a Euclidean Domain</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 503</h2>
<p>	Prove that the ring of integers<br />
	\[\Z[\sqrt{2}]=\{a+b\sqrt{2} \mid a, b \in \Z\}\]
	of the field $\Q(\sqrt{2})$ is a Euclidean Domain.</p>
<p>&nbsp;<br />
<span id="more-3525"></span><br />

<h2> Proof. </h2>
<p>	First of all, it is clear that $\Z[\sqrt{2}]$ is an integral domain since it is contained in $\R$.</p>
<p>	We use the norm given by the absolute value of field norm.<br />
	Namely, for each element $a+\sqrt{2}b\in \Z[\sqrt{2}]$, define<br />
		\[N(a+\sqrt{2}b)=|a^2-2b^2|.\]
		Then the map $N:\Z[\sqrt{2}] \to \Z_{\geq 0}$ is a norm on $\Z[\sqrt{2}]$.<br />
		Also, it is multiplicative:<br />
		\[N(xy)=N(x)N(y).\]
		Remark that since this norm comes from the field norm of $\Q(\sqrt{2})$, the multiplicativity of  $N$ holds for $x, y \in \Q(\sqrt{2})$ as well.</p>
<hr />
<p>		We show the existence of a Division Algorithm as follows.<br />
		Let<br />
		\[x=a+b\sqrt{2} \text{ and } y=c+d\sqrt{2}\]
		be arbitrary elements in $\Z[\sqrt{2}]$, where $a,b,c,d\in \Z$.</p>
<p>		We have<br />
		\begin{align*}<br />
	\frac{x}{y}=\frac{a+b\sqrt{2}}{c+d\sqrt{2}}=\frac{(ac-2bd)+(bc-ad)\sqrt{2}}{c^2-2d^2}=r+s\sqrt{2},<br />
	\end{align*}<br />
	where we put<br />
	\[r=\frac{ac-2bd}{c^2-2d^2} \text{ and } s=\frac{bc-ad}{c^2-2d^2}.\]
<p>	Let $n$ be an integer closest to the rational number $r$ and let $m$ be an integer closest to the rational number $s$, so that<br />
	\[|r-n| \leq \frac{1}{2} \text{ and } |s-m| \leq \frac{1}{2}.\]
<p>	Let<br />
	\[t:=r-n+(s-m)\sqrt{2}.\]
<p>	Then we have<br />
	\begin{align*}<br />
	t&#038;=r+s\sqrt{2}-(n+m\sqrt{2})\\<br />
	&#038;=\frac{x}{y}-(n+m\sqrt{2}).<br />
	\end{align*}</p>
<p>	It follows that<br />
	\begin{align*}<br />
	yt=x-(n+m\sqrt{2})y \in \Z[\sqrt{2}].<br />
	\end{align*}</p>
<p>	Thus we have<br />
	\begin{align*}<br />
	x=(n+m\sqrt{2})y+yt \tag{*}<br />
	\end{align*}<br />
	with $n+m\sqrt{2}, yt\in \Z[\sqrt{2}]$.</p>
<hr />
<p>	We have<br />
	\begin{align*}<br />
	N(t)&#038;= |(r-n)^2-2(s-m)^2|\\<br />
	&#038;\leq |r-n|^2+2|s-m|^2\\<br />
	&#038; \leq  \frac{1}{4}+2\cdot\frac{1}{4}=\frac{3}{4}.<br />
	\end{align*}</p>
<p>	It follows from the multiplicativity of the norm $N$ that<br />
	\begin{align*}<br />
	N(yt)=N(y)N(t)\leq \frac{3}{4}N(y)< N(y).
	\end{align*}
	
	Thus the expression (*) gives a Division Algorithm with quotient $n+m\sqrt{2}$ and remainder $yt$.

	


<h2> Related Question. </h2>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. In the ring $\Z[\sqrt{2}]$, prove that $5$ is a prime element but $7$ is not a prime element. </div>
<p>For a proof of this problem, see the post &#8220;<a href="//yutsumura.com/5-is-prime-but-7-is-not-prime-in-the-ring-zsqrt2/" target="_blank">5 is prime but 7 is not prime in the ring $\Z[\sqrt{2}]$</a>&#8220;.</p>
<button class="simplefavorite-button has-count" data-postid="3525" data-siteid="1" data-groupid="1" data-favoritecount="61" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">61</span></button><p>The post <a href="https://yutsumura.com/the-ring-zsqrt2-is-a-euclidean-domain/" target="_blank">The Ring $\Z[\sqrt{2}]$ is a Euclidean Domain</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-ring-zsqrt2-is-a-euclidean-domain/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3525</post-id>	</item>
	</channel>
</rss>
