Editing 2835: Factorial Numbers

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 10: Line 10:
  
 
==Explanation==
 
==Explanation==
A {{w|factorial}} is a product of positive integers. For instance, four factorial, written '4!', means 4×3×2×1=24.
+
{{incomplete|Created by a BOT BEING ESCORTED OUT OF THE COMPUTER SCIENCE DEPARTMENT BY SECURITY - Please change this comment when editing this page. Do NOT delete this tag too soon.}}
 
 
The "base" of a numbering system defines which numbers it uses as digits and what each place value in a number means.  For example, in decimal numbers (base 10), the digits go from 0 to 9, and place values are ones, tens, hundreds, etc.  So "137" means 1×100 + 3×10 + 7×1 = 137.  Numbers can also be written in other bases, such as binary (base 2, using the digits 0 and 1 and place values of 1, 2, 4, 8...) or octal  (base 8, using the digits 0-7 and place values of 1, 8, 64, and so on).  Using different bases is uncommon, but is sometimes useful in computer science.
 
 
 
In the comic, [[Cueball]] proposes a {{w|factorial number system}}, where the base ''changes'' for each place value - the first digit can be 0 or 1, the next digit can be 0, 1, or 2, the third can be 0, 1, 2, or 3, and so on.  Each place value is the factorial of the base.  So the number 137 in base 10 could be written as 10221, meaning 1×5! + 0×4! + 2×3! + 2×2! + 1×1!. While this numbering system is technically usable and can express any number, it seems excessively complicated, and the only reason Cueball gives for using it is that he thinks large digits like 9 should only be used in vast numbers (9 would not be used unless the number was at least 9 digits long, or over 3.2 million in decimal).  This is a silly reason for using a new numbering system,{{cn}} so the math department thinks this is a prank, and has security throw him out.
 
 
 
In the title text, someone points out that a factorial number system needs more and more digits for each place value.  The tenth digit in a factorial number would be in base 11, which needs 11 possible digits, and 0-9 only provides 10.  In bases higher than 10, you can use letters to represent higher digits.  For example, hexadecimal (base 16) goes from 0 to 9, then from A to F.  It would be reasonable to do the same thing for higher bases in factorial numbers.  Instead, Cueball says that it's simply illegal to write numbers larger than about 3.6 million, the largest you can go without using a base greater than 10. This is an absurd limitation, as other numbering systems can go as high as you like.
 
 
 
The number at the top of Cueball's presentation, 353011, is 3×6! + 5×5! + 3×4! + 0×3! + 1×2! + 1×1! which gives the decimal value of 2835, the number of the comic.
 
 
 
Cueball's examples of numbers written in factored appear as sequences [https://oeis.org/A007623 A007623] in the OEIS.
 
  
 
==Transcript==
 
==Transcript==
{{incomplete transcript|Do NOT delete this tag too soon. - Still needs a lot of deconstruction/reconstruction work on the [Poster:] to make it properly Transcripted (no tables, ideally!), but have improved the surrounding markup/descriptions}}
+
{{incomplete transcript|Do NOT delete this tag too soon.}}
:[Cueball is standing in front of a large poster. There are two uniformed officers (a Ponytail and a further Cueball, wearing badged hats) approaching Cueball.]
+
:Variable-base Factoradic™ numbers
:[Poster:]
 
  
: Variable-base Factoradic™ numbers
 
 
:{|
 
:{|
 
|Base 7||Base 6||Base 5||Base 4||Base 3||Base 2
 
|Base 7||Base 6||Base 5||Base 4||Base 3||Base 2
Line 34: Line 22:
 
|}
 
|}
  
: Left side
+
:{|
 
+
|Base 10||||Factoradic
:{| class="wikitable"
 
|Base 10||Factoradic
 
 
|-
 
|-
|1||1
+
|1||—||1
 
|-
 
|-
|2||10
+
|2||—||10
 
|-
 
|-
|3||11
+
|3||—||11
 
|-
 
|-
|4||20
+
|4||—||20
 
|-
 
|-
|5||21
+
|5||—||21
 
|-
 
|-
|6||100
+
|6||—||100
 
|-
 
|-
|7||101
+
|7||—||101
 
|-
 
|-
|  
+
|
 
|-
 
|-
|21||311
+
|21||—||311
 
|-
 
|-
|22||320
+
|22||—||320
 
|-
 
|-
|23||321
+
|23||—||321
 
|}
 
|}
  
: Right side
+
:{|
 
+
|Base 10||||Factoradic
:{| class="wikitable"
 
|Base 10||Factoradic
 
 
|-
 
|-
|24||1,000
+
|24||—||1,000
 
|-
 
|-
|25||1,001
+
|25||—||1,001
 
|-
 
|-
|  
+
|
 
|-
 
|-
|5,038||654,320
+
|5,038||—||654,320
 
|-
 
|-
|5,039||654,321
+
|5,039||—||654,321
 
|-
 
|-
|5,040||1,000,000
+
|5,040||—||1,000,000
 
|-
 
|-
|  
+
|
 
|-
 
|-
|999,998||266,251,210
+
|999,998||—||266,251,210
 
|-
 
|-
|999,999||266,251,211
+
|999,999||—||266,251,211
 
|-
 
|-
|1,000,000||266,251,220
+
|1,000,000||—||266,251,220
 
|-
 
|-
|1,000,001||266,251,221
+
|1,000,001||—||266,251,221
 
|}
 
|}
  
Line 94: Line 78:
 
:Cueball: Small numbers should be written with small numerals like "1" or "2".
 
:Cueball: Small numbers should be written with small numerals like "1" or "2".
 
:Cueball: That's why my variable-base system uses...Hey! No, listen!
 
:Cueball: That's why my variable-base system uses...Hey! No, listen!
:[Caption under the comic:] Factorial numbers are the number system that sounds most like a prank by someone who's about to be escorted out of the math department by security.
+
 
 +
:Factorial numbers are the number system that sounds most like a prank by someone who's about to be escorted out of the math department by security.
  
 
{{comic discussion}}
 
{{comic discussion}}
 
[[Category:Comics featuring Cueball]]
 
[[Category:Characters with hats]]
 
[[Category:Math]]
 
[[Category:Self-reference]] <!-- Comic number encoded in image 'example' -->
 
[[Category:Comics featuring Ponytail]] <!-- Hatted 'security officer' -->
 
[[Category:Multiple Cueballs]] <!-- If including otherwise cueball-like hatted 'security officer' of no other distinction -->
 
[[Category:Popular Comics]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)