# Some stuff about different number system things

#1

decimal is the most commonly used system, with the digits 0-9.

binary is composed of zeros and ones.

octal has the digits 0-7.

hexadecimal has the following characters:
0 1 2 3 4 5 6 7 8 9 a b c d e f

## counting to 20 in a few systems:

base 10 base 2 base 16 base 8
1 1 1 1
2 10 2 2
3 11 3 3
4 100 4 4
5 101 5 5
6 110 6 6
7 111 7 7
8 1000 8 10
9 1001 9 11
10 1010 a 12
11 1011 b 13
12 1100 c 14
13 1110 d 15
14 1111 e 16
15 10000 f 17
16 10001 10 20
17 10010 11 21
18 10011 12 22
19 10100 13 23
20 10101 14 24

## what each place value is (corresponding to base 10):

dec hex bin oct
1 1 1 1
10 16 2 8
100 256 4 64
1000 2048 16 256

Each place is multiplied by the base number
(might need to be checked, did off the top of my head)
not very hard to understand, just kind of confusing to remember

i might clean this up later but not right now haha

#2

So is there a cool application of this in Hopscotch?

#3

Yeah, how can I apply this to hopscotch? Or is this just here for info?

#4

Lots of them. For example, decimal takes way less digits to store than binary, something that makes it possible to store larger amounts of data in the 16 digits a Hopscotch variable can hold.

#5

Seems interesting.

#6

Oh, interesting. I haven’t really looked into binary numbers and other number systems yet, so I didn’t know that actually.

#7

this just a thing i randomly made and i dont know or care if it applies to hopscotch