<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tcs.nju.edu.cn/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=115.178.236.223</id>
	<title>TCS Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://tcs.nju.edu.cn/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=115.178.236.223"/>
	<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=Special:Contributions/115.178.236.223"/>
	<updated>2026-05-01T11:11:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://tcs.nju.edu.cn/wiki/index.php?title=Square_number&amp;diff=7618</id>
		<title>Square number</title>
		<link rel="alternate" type="text/html" href="https://tcs.nju.edu.cn/wiki/index.php?title=Square_number&amp;diff=7618"/>
		<updated>2017-06-22T07:35:51Z</updated>

		<summary type="html">&lt;p&gt;115.178.236.223: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;square number&#039;&#039;&#039;, sometimes also called a &#039;&#039;&#039;perfect square&#039;&#039;&#039;, is the result of an [[integer]] [[multiplication|multiplied]] by itself. 1, 4, 9, 16 and 25 are the first five [[square (algebra)|square]] numbers.&lt;br /&gt;
In a formula, the square of a number&amp;amp;nbsp;&#039;&#039;n&#039;&#039; is denoted {{math|&#039;&#039;n&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}} ([[exponentiation]]), usually pronounced as &amp;quot;&#039;&#039;n&#039;&#039; squared&amp;quot;.  The name square number comes from the name of the shape; see [[#Properties|below]].&lt;br /&gt;
&lt;br /&gt;
Square numbers are [[non-negative]]. Another way of saying that a (non-negative) number is a square number, is that its [[square root]] is again an integer. For example, {{sqrt|9}}&amp;amp;nbsp;=&amp;amp;nbsp;3, so 9 is a square number.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
The squares {{OEIS|id=A000290}} smaller than 60&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:0&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; =[[0]]&lt;br /&gt;
:1&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = [[1]]&lt;br /&gt;
:2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = [[4]]&lt;br /&gt;
:3&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = [[9]]&lt;br /&gt;
:4&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = [[16]]&lt;br /&gt;
:5&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = [[25]]&lt;br /&gt;
:6&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 36&lt;br /&gt;
:7&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 49&lt;br /&gt;
:8&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 64&lt;br /&gt;
:9&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 81&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:10&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; =[[100]]&lt;br /&gt;
:11&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 121&lt;br /&gt;
:12&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 144&lt;br /&gt;
:13&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 169&lt;br /&gt;
:14&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 196&lt;br /&gt;
:15&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 225&lt;br /&gt;
:16&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 256&lt;br /&gt;
:17&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 289&lt;br /&gt;
:18&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 324&lt;br /&gt;
:19&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 361&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:20&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 400&lt;br /&gt;
:21&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 441&lt;br /&gt;
:22&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 484&lt;br /&gt;
:23&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 529&lt;br /&gt;
:24&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 576&lt;br /&gt;
:25&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 625&lt;br /&gt;
:26&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 676&lt;br /&gt;
:27&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 729&lt;br /&gt;
:28&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 784&lt;br /&gt;
:29&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 841&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:30&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 900&lt;br /&gt;
:31&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 961&lt;br /&gt;
:32&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1024&lt;br /&gt;
:33&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1089&lt;br /&gt;
:34&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1156&lt;br /&gt;
:35&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1225&lt;br /&gt;
:36&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1296&lt;br /&gt;
:37&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1369&lt;br /&gt;
:38&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1444&lt;br /&gt;
:39&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1521&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt; &lt;br /&gt;
:40&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1600 &lt;br /&gt;
:41&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1681 &lt;br /&gt;
:42&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1764&lt;br /&gt;
:43&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1849&lt;br /&gt;
:44&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1936&lt;br /&gt;
:45&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2025&lt;br /&gt;
:46&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2116&lt;br /&gt;
:47&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2209&lt;br /&gt;
:48&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2304&lt;br /&gt;
:49&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2401&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; padding: 1em;&amp;quot;&amp;gt; &lt;br /&gt;
:50&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2500&lt;br /&gt;
:51&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2601 &lt;br /&gt;
:52&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2704&lt;br /&gt;
:53&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2809&lt;br /&gt;
:54&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 2916&lt;br /&gt;
:55&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 3025&lt;br /&gt;
:56&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 3136&lt;br /&gt;
:57&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 3249&lt;br /&gt;
:58&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 3364&lt;br /&gt;
:59&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 3481&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
There are infinitely many square numbers, as there are infinitely many [[natural number]]s.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
The number&amp;amp;nbsp;&#039;&#039;m&#039;&#039; is a square number if and only if one can compose a [[Square (geometry)|square]] of &#039;&#039;m&#039;&#039; equal (lesser) squares:&lt;br /&gt;
{| cellpadding=&amp;quot;8&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;m&#039;&#039; = 1&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 1&lt;br /&gt;
|[[Image:Square number 1.png]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;m&#039;&#039; = 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 4&lt;br /&gt;
|[[Image:Square number 4.png]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;m&#039;&#039; = 3&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 9&lt;br /&gt;
|[[Image:Square number 9.png]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;m&#039;&#039; = 4&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 16&lt;br /&gt;
|[[Image:Square number 16.png]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;m&#039;&#039; = 5&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 25&lt;br /&gt;
|[[Image:Square number 25.png]]&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 style=&amp;quot;font-size:83%&amp;quot; |&#039;&#039;&#039;Note:&#039;&#039;&#039; White gaps between squares serve only to improve visual perception.&amp;lt;br/&amp;gt;There must be no gaps between actual squares.&lt;br /&gt;
|}&lt;br /&gt;
A square with side length &#039;&#039;n&#039;&#039; has [[area]] {{math|&#039;&#039;n&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
The expression for the &#039;&#039;n&#039;&#039;th square number is &#039;&#039;n&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. This is also equal to the sum of the first &#039;&#039;n&#039;&#039; [[odd number]]s as can be seen in the above pictures, where a square results from the previous one by adding an odd number of points (shown in magenta).  The formula follows:&lt;br /&gt;
:&amp;lt;math&amp;gt;n^2 = \sum_{k=1}^n(2k-1).&amp;lt;/math&amp;gt;&lt;br /&gt;
So for example, {{math|1=5&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; =[[25]]= 1 + 3 + 5 + 7 + 9}}.&lt;br /&gt;
&lt;br /&gt;
A square number can end only with digits 0, 1, 4, 6, 9, or 25 in [[base&amp;amp;nbsp;10]], as follows:&lt;br /&gt;
#If the last digit of a number is 0, its square ends in an even number of 0s (so at least 00) and the [[Numerical digit|digits]] preceding the ending 0s must also form a square.  &lt;br /&gt;
#If the last digit of a number is 1 or 9, its square ends in 1 and the number formed by its preceding digits must be divisible by four.&lt;br /&gt;
#If the last digit of a number is 2 or 8, its square ends in 4 and the preceding digit must be even.&lt;br /&gt;
#If the last digit of a number is 3 or 7, its square ends in 9 and the number formed by its preceding digits must be divisible by four.&lt;br /&gt;
#If the last digit of a number is 4 or 6, its square ends in 6 and the preceding digit must be &#039;&#039;&#039;odd&#039;&#039;&#039;.&lt;br /&gt;
#If the last digit of a number is 5, its square ends in 25 and the preceding digits must be 0, 2, 06, or 56.&lt;br /&gt;
&lt;br /&gt;
A square number cannot be a [[perfect number]].&lt;br /&gt;
&lt;br /&gt;
All fourth powers, sixth powers, eighth powers and so on are perfect squares.&lt;br /&gt;
&lt;br /&gt;
==Special cases==&lt;br /&gt;
* If the number is of the form &#039;&#039;m&#039;&#039;5 where &#039;&#039;m&#039;&#039; represents the preceding digits, its square is &#039;&#039;n&#039;&#039;25 where {{math|1=&#039;&#039;n&#039;&#039; = &#039;&#039;m&#039;&#039; × (&#039;&#039;m&#039;&#039; + 1)}} and represents digits before 25. For example the square of 65 can be calculated by {{math|1=&#039;&#039;n&#039;&#039; = 6 × (6 + 1) = 42}} which makes the square equal to 4225.&lt;br /&gt;
* If the number is of the form &#039;&#039;m&#039;&#039;0 where &#039;&#039;m&#039;&#039; represents the preceding digits, its square is &#039;&#039;n&#039;&#039;00 where {{math|1=&#039;&#039;n&#039;&#039; = &#039;&#039;m&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. For example the square of 70 is 4900.&lt;br /&gt;
* If the number has two digits and is of the form 5&#039;&#039;m&#039;&#039; where &#039;&#039;m&#039;&#039; represents the units digit, its square is &#039;&#039;AABB&#039;&#039; where {{math|1=&#039;&#039;AA&#039;&#039; = 25 + &#039;&#039;m&#039;&#039;}} and {{math|1=&#039;&#039;BB&#039;&#039; = &#039;&#039;m&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}. Example: To calculate the square of 57, 25&amp;amp;nbsp;+&amp;amp;nbsp;7&amp;amp;nbsp;=&amp;amp;nbsp;32 and 7&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;=&amp;amp;nbsp;49, which means 57&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;=&amp;amp;nbsp;3249.&lt;br /&gt;
&lt;br /&gt;
==Odd and even square numbers==&lt;br /&gt;
&lt;br /&gt;
Squares of even numbers are even (and in fact divisible by 4), since {{math|1=(2&#039;&#039;n&#039;&#039;)&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 4&#039;&#039;n&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
Squares of odd numbers are odd, since {{math|1=(2&#039;&#039;n&#039;&#039; + 1)&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 4(&#039;&#039;n&#039;&#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + &#039;&#039;n&#039;&#039;) + 1}}.&lt;br /&gt;
&lt;br /&gt;
It follows that square roots of even square numbers are even, and square roots of odd square numbers are odd.&lt;br /&gt;
&lt;br /&gt;
As all even square numbers are divisible by 4, the even numbers of the form {{math|4&#039;&#039;n&#039;&#039; + 2}} are not square numbers.&lt;br /&gt;
&lt;br /&gt;
As all odd square numbers are of the form {{math|4&#039;&#039;n&#039;&#039; + 1}}, the odd numbers of the form {{math|4&#039;&#039;n&#039;&#039; + 3}} are not square numbers.&lt;br /&gt;
&lt;br /&gt;
Squares of odd numbers are of the form {{math|8&#039;&#039;n&#039;&#039; + 1}}, since {{math|1=(2&#039;&#039;n&#039;&#039; + 1)&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = 4&#039;&#039;n&#039;&#039;(&#039;&#039;n&#039;&#039; + 1) + 1}} and {{math|1=&#039;&#039;n&#039;&#039;(&#039;&#039;n&#039;&#039; + 1)}} is an even number.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
== References ==&lt;br /&gt;
*{{MathWorld|urlname=SquareNumber|title=Square Number}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
*[[J.H. Conway|Conway, J. H.]] and [[R.K. Guy|Guy, R. K.]] &#039;&#039;The Book of Numbers&#039;&#039;. New York: Springer-Verlag, pp.&amp;amp;nbsp;30–32, 1996.  ISBN 0-387-97993-X&lt;br /&gt;
&lt;br /&gt;
== Other websites ==&lt;br /&gt;
* [http://www.learntables.co.uk/square_numbers/ Learn Square Numbers]. Practice square numbers up to 144 with this children&#039;s multiplication game&lt;br /&gt;
* Dario Alpern, [http://www.alpertron.com.ar/FSQUARES.HTM Sum of squares]. A Java applet to decompose a natural number into a sum of up to four squares.&lt;br /&gt;
*[http://mathdl.maa.org/convergence/1/?pa=content&amp;amp;sa=viewDocument&amp;amp;nodeId=1296&amp;amp;bodyId=1433 Fibonacci and Square Numbers] at [http://mathdl.maa.org/convergence/1/ Convergence]&lt;br /&gt;
* [http://www.naturalnumbers.org/psquares.html The first 1,000,000 perfect squares] Includes a program for generating perfect squares up to 10&amp;lt;sup&amp;gt;15&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Square numbers| ]]&lt;br /&gt;
[[Category:Number theory]]&lt;br /&gt;
[[Category:Integer sequences]]&lt;/div&gt;</summary>
		<author><name>115.178.236.223</name></author>
	</entry>
</feed>