gf(2) Polynomial long division

c = a/b

a = b0000110010101110101000111111010001111111111000000000000000110011
a = 0x0caea3f47fe00033
a = x59 + x58 + x55 + x53 + x51 + x50 + x49 + x47 + x45 + x41 + x40 + x39 + x38 + x37 + x36 + x34 + x30 + x29 + x28 + x27 + x26 + x25 + x24 + x23 + x22 + x21 + x5 + x4 + x + 1

b = b0000000000000000000000000000000000000000000000000001010000010101
b = 0x0000000000001415
b = x12 + x10 + x4 + x2 + 1

  110010101110101000111111010001111111111000000000000000110011 | 1010000010101
- 1010000010101                                                | 1
  ------------------------------------------------------------ |
   11010100100001000111111010001111111111000000000000000110011 |
-  1010000010101                                               | 1
  ------------------------------------------------------------ |
    1110100001011000111111010001111111111000000000000000110011 |
-   1010000010101                                              | 1
  ------------------------------------------------------------ |
     100100011110000111111010001111111111000000000000000110011 |
-    1010000010101                                             | 1
  ------------------------------------------------------------ |
       1100010100100111111010001111111111000000000000000110011 |
-     0000000000000                                            | 0
-      1010000010101                                           | 1
  ------------------------------------------------------------ |
        110010110001111111010001111111111000000000000000110011 |
-       1010000010101                                          | 1
  ------------------------------------------------------------ |
         11010111011011111010001111111111000000000000000110011 |
-        1010000010101                                         | 1
  ------------------------------------------------------------ |
          1110111110001111010001111111111000000000000000110011 |
-         1010000010101                                        | 1
  ------------------------------------------------------------ |
           100111100100111010001111111111000000000000000110011 |
-          1010000010101                                       | 1
  ------------------------------------------------------------ |
             1111101110011010001111111111000000000000000110011 |
-           0000000000000                                      | 0
-            1010000010101                                     | 1
  ------------------------------------------------------------ |
              101101100110010001111111111000000000000000110011 |
-             1010000010101                                    | 1
  ------------------------------------------------------------ |
                 101101100110001111111111000000000000000110011 |
-              0000000000000                                   | 0
-               0000000000000                                  | 0
-                1010000010101                                 | 1
  ------------------------------------------------------------ |
                    101101100101111111111000000000000000110011 |
-                 0000000000000                                | 0
-                  0000000000000                               | 0
-                   1010000010101                              | 1
  ------------------------------------------------------------ |
                       101101111011111111000000000000000110011 |
-                    0000000000000                             | 0
-                     0000000000000                            | 0
-                      1010000010101                           | 1
  ------------------------------------------------------------ |
                          101110001011111000000000000000110011 |
-                       0000000000000                          | 0
-                        0000000000000                         | 0
-                         1010000010101                        | 1
  ------------------------------------------------------------ |
                             110000001011000000000000000110011 |
-                          0000000000000                       | 0
-                           0000000000000                      | 0
-                            1010000010101                     | 1
  ------------------------------------------------------------ |
                              11000000001100000000000000110011 |
-                             1010000010101                    | 1
  ------------------------------------------------------------ |
                               1100000100110000000000000110011 |
-                              1010000010101                   | 1
  ------------------------------------------------------------ |
                                110000110011000000000000110011 |
-                               1010000010101                  | 1
  ------------------------------------------------------------ |
                                 11000111001100000000000110011 |
-                                1010000010101                 | 1
  ------------------------------------------------------------ |
                                  1100111100110000000000110011 |
-                                 1010000010101                | 1
  ------------------------------------------------------------ |
                                   110111110011000000000110011 |
-                                  1010000010101               | 1
  ------------------------------------------------------------ |
                                    11111111001100000000110011 |
-                                   1010000010101              | 1
  ------------------------------------------------------------ |
                                     1011111100110000000110011 |
-                                    1010000010101             | 1
  ------------------------------------------------------------ |
                                        1111110011000000110011 |
-                                     0000000000000            | 0
-                                      0000000000000           | 0
-                                       1010000010101          | 1
  ------------------------------------------------------------ |
                                         101110001101000110011 |
-                                        1010000010101         | 1
  ------------------------------------------------------------ |
                                            110000111100110011 |
-                                         0000000000000        | 0
-                                          0000000000000       | 0
-                                           1010000010101      | 1
  ------------------------------------------------------------ |
                                             11000110110010011 |
-                                            1010000010101     | 1
  ------------------------------------------------------------ |
                                              1100110011000011 |
-                                             1010000010101    | 1
  ------------------------------------------------------------ |
                                               110110001101011 |
-                                              1010000010101   | 1
  ------------------------------------------------------------ |
                                                11110000111111 |
-                                               1010000010101  | 1
  ------------------------------------------------------------ |
                                                 1010000010101 |
-                                                1010000010101 | 1
  ------------------------------------------------------------ |
                                                             0 |

cquotient = b0000000000000000111101111101100100100100100111111111001100111111
cquotient = 0x0000f7d9249ff33f
cquotient = x47 + x46 + x45 + x44 + x42 + x41 + x40 + x39 + x38 + x36 + x35 + x32 + x29 + x26 + x23 + x20 + x19 + x18 + x17 + x16 + x15 + x14 + x13 + x12 + x9 + x8 + x5 + x4 + x3 + x2 + x + 1

cremainder = b0000000000000000000000000000000000000000000000000000000000000000
cremainder = 0x0000000000000000
cremainder = 0