Hexadecimal numbers

From Maths
Jump to: navigation, search

The code for a single-digit hexadecimal function represent as a table has a markup skeleton just after this in a div tag set to display:none. It's present in page markup.

[ilmath]X+Y[/ilmath] [ilmath]Y[/ilmath]
[ilmath]X[/ilmath] 0 1 2 3 4 5 6 7 8 9 a b c d e f
0
1
2
3
4
5
6
7
8
9
a
b
c
d
e
f


Blue indicates carrying, so a blue 5 means 15 is the actual value.
TODO: Todo: link to carry theorem, if we ever have to carry in any base (except 1 maybe) it's only a question of if we have to carry when adding, we either carry 0 or 1, never more for addition
[ilmath]X+Y[/ilmath] [ilmath]Y[/ilmath]
[ilmath]X[/ilmath] 0 1 2 3 4 5 6 7 8 9 a b c d e f
0 0 1 2 3 4 5 6 7 8 9 a b c d e f
1 1 2 3 4 5 6 7 8 9 a b c d e f
2 2 3 4 5 6 7 8 9 a b c d e f
3 3 4 5 6 7 8 9
4 4 5 6 7 8 9
5 5 6 7 8 9
6 6 7 8 9
7 7 8 9 a b c d e f
8 8 9
9 9 a b c d e f 0 1 2 3 4 5 6 7 8
a a b c d e f 0 1 2 3 4 5 6 7 8 9
b b c d e f 0 1 2 3 4 5 6 7 8 9 a
c c d e f 0 1 2 3 4 5 6 7 8 9 a b
d d e f
e e f
f f 0 1 2 3 4 5 6 7 8 9 a b c d e