Lucas Kent e39465ad2f Changes to be committed:
new file:   Files/flashplayer_32_sa.exe
	new file:   favicon.ico
	new file:   globe.gif
	new file:   imgs/download.png
	new file:   imgs/zuck.jpg
	new file:   index.html
	new file:   other.ico
	new file:   script.js
	new file:   site.webmanifest
	new file:   sitemap.html
	new file:   styles/backround.css
	new file:   styles/border.css
	new file:   styles/fonts/Titillium_Web/OFL.txt
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf
	new file:   styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf
	new file:   styles/fonts/webfontkit-20221027-163353/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2
	new file:   styles/fonts/webfontkit-20221027-165950/generator_config.txt
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css
	new file:   styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/stylesheet.css
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff
	new file:   styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2
	new file:   styles/style.css
	new file:   tools/2048/.gitignore
	new file:   tools/2048/.jshintrc
	new file:   tools/2048/CONTRIBUTING.md
	new file:   tools/2048/LICENSE.txt
	new file:   tools/2048/README.md
	new file:   tools/2048/Rakefile
	new file:   tools/2048/favicon.ico
	new file:   tools/2048/index.html
	new file:   tools/2048/js/animframe_polyfill.js
	new file:   tools/2048/js/application.js
	new file:   tools/2048/js/bind_polyfill.js
	new file:   tools/2048/js/classlist_polyfill.js
	new file:   tools/2048/js/game_manager.js
	new file:   tools/2048/js/grid.js
	new file:   tools/2048/js/html_actuator.js
	new file:   tools/2048/js/keyboard_input_manager.js
	new file:   tools/2048/js/local_storage_manager.js
	new file:   tools/2048/js/tile.js
    new file:   tools/2048/meta/apple-touch-icon.png
	new file:   tools/webretro/cores/neocd_libretro.js
	new file:   tools/webretro/cores/neocd_libretro.wasm
	new file:   tools/webretro/cores/nestopia_libretro.js
	new file:   tools/webretro/cores/nestopia_libretro.wasm
	new file:   tools/webretro/cores/o2em_libretro.js
	new file:   tools/webretro/cores/o2em_libretro.wasm
	new file:   tools/webretro/cores/opera_libretro.js
	new file:   tools/webretro/cores/opera_libretro.wasm
2022-11-02 08:40:01 -04:00

141 lines
5.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
<!-- Mirrored from www.mathsisfun.com/numbers/prime-properties.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:45:20 GMT -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- #BeginEditable "doctitle" -->
<title>Prime Properties</title>
<script>reSpell=[["neighbors","neighbours"]]</script>
<script src="images/prime-chart.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../stylejs.css">
<!-- #EndEditable -->
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="HandheldFriendly" content="true">
<meta name="referrer" content="always">
<link rel="stylesheet" href="../style4.css">
<script src="../main4.js"></script>
<script>document.write(gTagHTML())</script>
</head>
<body id="bodybg">
<div id="stt"></div>
<div id="adTop"></div>
<header>
<div id="hdr"></div>
<div id="tran"></div>
<div id="adHide"></div>
<div id="cookOK"></div>
</header>
<div class="mid">
<nav>
<div id="menuWide" class="menu"></div>
<div id="logo"><a href="../index.html"><img src="../images/style/logo.svg" alt="Math is Fun"></a></div>
<div id="search" role="search"></div>
<div id="linkto"></div>
<div id="menuSlim" class="menu"></div>
<div id="menuTiny" class="menu"></div>
</nav>
<div id="extra"></div>
<article id="content" role="main">
<!-- #BeginEditable "Body" -->
<style>
.prime {color:black; background-color:gold;}
.comp {color:black; background-color:#cdf;}
</style>
<h1 class="center">Prime Properties</h1>
<p class="center">A <a href="../prime-composite-number.html">Prime Number</a> is a whole number above 1<br>that cannot be made by multiplying other whole numbers.</p>
<h2>2 is Prime</h2>
<p>We cannot make 2 by multiplying other whole numbers, so it is prime.</p>
<p>Click on <b>2</b> below, what happens?<span class="comp"></span> </p>
<script>primechartMain();</script>
<p>Every multiple of two gets eliminated, right? Because they can't be prime. So no even numbers any more:</p>
<p class="so">(beyond 2) <b>primes are odd</b>.</p>
<p>Note we are <b>not </b>saying "all odd numbers are prime", but that "a prime has to be an odd number"</p>
<h2>Multiples of 6</h2>
<p>Now go back up and hit the <b>3</b>.</p>
<p>From here on a prime has to be odd and <b>not </b>a multiple of 3. </p>
<p>The next two primes (click them if you want) are 5 and 7, they are either side of 6.</p>
<p>In fact, from now on a prime must be <b>next to a multiple of 6</b>. </p>
<p>(Being next to a multiple of 3 is not enough. Look at 9, it has <b>even </b>numbers on each side, but 12 is next to <b>odd </b>numbers, then 15 is next to <b>even </b>numbers, etc.)</p>
<p class="so">(beyond 3) <b>primes are next to a multiple of 6<br></b></p>
<ul>
<li>Notice the "twin primes" 5 and 7 next to 6</li>
<li>then the twin primes 11 and 13 next to 12</li>
<li>and the twin primes<b> </b>17 and 19 next to 18</li>
<li>but this lovely pattern stops because 25 has been eliminated (a multiple of 5)</li></ul>
<p>This is often the case with primes, a nice pattern suddenly disappears!</p>
<p>(Note: "twin primes" must differ by only 2. The next two are 29 and 31, can you find more?)</p>
<h2>Multiples of 24</h2>
<p>But we do get another pattern!</p>
<p>Let's look at the numbers on either side of a prime <b>p</b>:</p>
<p class="center">
<img src="images/prime-24.svg" alt="p-1 and p and p+1"></p>
<ul>
<li>one side must be a multiple of <b>6</b></li>
<li>the two sides are consecutive (one after the other) <b>even </b>numbers</li>
<li>in any two consecutive even numbers one must be a multiple of <b>4</b></li></ul>
<p>So when we multiply a prime's neighbors we get a multiple of 4x6 = <b>24</b></p>
<p>Multiplying neighbors is simply <b>(p1)(p+1)</b></p>
<p>And "multiple of 24" is <b>24n</b> where <b>n</b> is some whole number:
</p>
<p class="center large">(p1)(p+1) = 24n</p>
<p>We can multiply out (p1)(p+1) to get p<sup>2</sup> 1:</p>
<p class="center large">p<sup>2</sup> 1 = 24n</p>
<p>And we get:</p>
<p class="so">(beyond 3) <b>a prime squared minus 1 is a multiple of 24</b></p>
<div class="example">
<h3>Example: 11</h3>
<p>11<sup>2</sup> 1 = 121 1 = <b>120</b> (which is a multiple of 24)</p>
<p>Or by multiplying its neighbors: 10 × 12 = <b>120</b></p>
</div>
<p>Test it yourself: try 5, or 19, or ... any prime beyond 3.<br>
</p><p><br></p>
<p>There are many more interesting properties of primes, can you discover more?</p>
<p>&nbsp;</p>
<div class="related">
<a href="../prime-composite-number.html">Prime and Composite Numbers</a>
<a href="prime-color-chart.html">Prime Color Chart</a>
<a href="prime-numbers-advanced.html">Prime Numbers - Advanced</a>
</div>
<!-- #EndEditable -->
</article>
<div id="adend" class="centerfull noprint"></div>
<footer id="footer" class="centerfull noprint"></footer>
<div id="copyrt">Copyright © 2021 MathsIsFun.com</div>
</div>
</body><!-- #EndTemplate -->
<!-- Mirrored from www.mathsisfun.com/numbers/prime-properties.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:45:21 GMT -->
</html>