Difference between revisions of "Talk:xkcd: volume 0"
(→How the pages are counted) |
|||
| Line 7: | Line 7: | ||
<tr> | <tr> | ||
<td> Number (xkcd v0) </td> | <td> Number (xkcd v0) </td> | ||
| − | <td> Number in | + | <td> Number in decimal </td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
| Line 71: | Line 71: | ||
</table> | </table> | ||
| − | How would someone do a base conversion between "xkcd trinary" and | + | How would someone do a base conversion between "xkcd trinary" and decimal? I was thinking to do something akin to (value in "normal trinary")-(value of the previous digit in the same trinary) for each magnitude in xkcd trinary, but I can't figure out how rigorous it would be, much less accurate. Any ideas? [[Special:Contributions/108.162.241.141|108.162.241.141]] 23:33, 19 June 2024 (UTC) |
Revision as of 04:22, 28 July 2025
How the pages are counted
The pages are counted in something akin to a trinary number system: the only digits used are 0, 1, and 2. But 2 always rolls over, even if there are digits behind it. So:
| Number (xkcd v0) | Number in decimal |
| 1 | 1 |
| 2 | 2 |
| 10 | 3 |
| 11 | 4 |
| 12 | 5 |
| 20 | 6 |
| 100 | 7 |
| 101 | 8 |
| 102 | 9 |
| 110 | 10 |
| 111 | 11 |
| 112 | 12 |
| 120 | 13 |
| 200 | 14 |
| 1000 | 15 |
How would someone do a base conversion between "xkcd trinary" and decimal? I was thinking to do something akin to (value in "normal trinary")-(value of the previous digit in the same trinary) for each magnitude in xkcd trinary, but I can't figure out how rigorous it would be, much less accurate. Any ideas? 108.162.241.141 23:33, 19 June 2024 (UTC)
