r/counting • 23k, 22a | wan, tu, mute • Sep 15 '20

Gaussian integers in quater-imaginary base

a non-standard positional numeral system which uses the imaginary number 2i as its base. It is able to (almost) uniquely represent every complex number using only the digits 0, 1, 2, and 3. See here for more details.

Counting all numbers in the form (a + bi), where a and b are integers, in a clockwise spiral beginning 0, 1, 1-i...

The first get is at 112000 (16+16i)

8 Upvotes

1.1k comments sorted by

3

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 15 '20

0 (0)

3

u/davidjl123 |390K|378A|79SK|50SA|260k 🚀 c o u n t i n g 🚀 Sep 15 '20

1 (1)

3

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 15 '20

1.2 (1-i)

2

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 15 '20 edited Sep 16 '20

0.2 (-i)

2

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 15 '20

103.2 (-1-i)

check, should be 0.2 (-i)

2

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 16 '20 edited Sep 16 '20

103 (-1)

2

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 16 '20

113.2 (-1+i)

check, should be 103 (-1)

This is the base we're using. There's a table of the powers of 2i under "Converting from quater-imaginary"

2

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 16 '20 edited Sep 16 '20

10.2 (i)

2

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 16 '20

11.2 (1+i)

no worries

2

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 16 '20

12.2 (2+i)

→ More replies (0)

1

u/CountingHelper 🤖 Sep 18 '20

New counters: do not reply to the comment above!

To go quickly to the latest counts in this thread, you may follow the continue thread link, but that's usually not the fastest option.

Instead, check /r/counting/comments to find the latest counts.

If it's not there, you can also check the directory once it's been updated. Or maybe check the profiles of frequent counters in this thread ^^:)

If you're on the official Reddit app, you'll get the web version because /r/counting/comments isn't supported natively. You might want consider using a better app like Reddit Is Fun for Android or Apollo for iOS for a better experience.

3

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 16 '20

for reference:

Base10Base 2i
1 1
2 2
3 3
4 10300
5 10301
6 10302
7 10303
8 10200
9 10201
10 10202
11 10203
12 10100
13 10101
14 10102
15 10103
16 10000
−1 103
−2 102
−3 101
−4 100
−5 203
−6 202
−7 201
−8 200
−9 303
−10 302
−11 301
−12 300
−13 1030003
−14 1030002
−15 1030001
−16 1030000
1i10.2
2i10
3i20.2
4i20
5i30.2
6i30
7i103000.2
8i103000
9i103010.2
10i103010
11i103020.2
12i103020
13i103030.2
14i103030
15i102000.2
16i102000
−1i0.2
−2i1030
−3i1030.2
−4i1020
−5i1020.2
−6i1010
−7i1010.2
−8i1000
−9i1000.2
−10i2030
−11i2030.2
−12i2020
−13i2020.2
−14i2010
−15i2010.2
−16i2000

2

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 16 '20

That seems a little excessive. Wouldn't it be simpler to just show the value of each digit?

2

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 16 '20

I have no idea. I'm still learning how this works, and the way I'm currently doing it is to look up the real part in the table, look up the imaginary part, and add the two together. I'm still mystified on how to get it otherwise

2

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 16 '20

If you want to get -1, you have 1*2i2 (1*-4), 0*2i1 (0*2i), and 3*2i0 (3*1), which adds to -1. It's written out as 103. It's similar to representing a number as a sum of powers of 2, just with a couple extra steps

3

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 17 '20

shouldn't the get be closer to (23+23i)?

If I'm imagining the spiral correctly, we will only be in the mid 500s by the time we get through 16 + 16i, should the get be later?

Also, the wave thread is basically the projection of this thread onto the real axis, so I'm wondering if we should follow the get pattern used by wave?

3

u/GreenGriffin8 23k, 22a | wan, tu, mute Sep 17 '20

Remember that 16+16i is the top right corner of a 33x33 square.

3

u/FartyMcNarty comments/zyzze1/_/j2rxs0c/ Sep 17 '20 edited Sep 17 '20

ah, right, so we are going twice as far as the wave thread.