Exhaustive Study Notes on Number Systems, Base Conversions, and Binary Arithmetic

Overview of Number Systems & Hardware Logic

  • Primary Objectives:

    • Understand the principles and foundational mathematics of number systems.
    • Understand why computer systems operate using the binary (Base-2) system.
    • Master positional notation across Base-2, Base-8, Base-10, and Base-16.
    • Master conversion methodologies among all four bases.
  • Hardware Rationale for Binary Usage:

    • Modern computers are built from electronic switches.
    • Each physical switch operates in one of two discrete states: ON or OFF.
    • Numerical mapping of switch states:
    • Logic 11 represents the ON state.
    • Logic 00 represents the OFF state.
    • Electrical voltage levels in digital logic circuits:
    • Logic 00 corresponds to 0 V0\,\text{V}.
    • Logic 11 corresponds to either +3.3 V+3.3\,\text{V} or +5 V+5\,\text{V}.

Taxonomy of Common Number Systems

  • Characteristics of Standard Bases:

    • Binary: Base 22, designated by symbol B. Uses digits {0,1}\{0, 1\}. Utilized directly by computer hardware, not typically used by humans.
    • Octal: Base 88, designated by symbol O. Uses digits {0,1,2,3,4,5,6,7}\{0, 1, 2, 3, 4, 5, 6, 7\}. Serves as a human-readable shorthand representation for binary; not used directly by computers or in general human communication.
    • Decimal: Base 1010, designated by symbol D. Uses digits {0,1,2,3,4,5,6,7,8,9}\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}. Used universally by humans, not used natively by computer hardware.
    • Hexadecimal: Base 1616, designated by symbol H. Uses digits {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\}, where letters represent values 1010 through 1515 (A=10A=10, B=11B=11, C=12C=12, D=13D=13, E=14E=14, F=15F=15). Serves as a compact human-readable shorthand for binary strings; not native to computer hardware.
  • Counting Equivalence Across Number Systems (00 to 2323 Decimal):

    • Decimal 0100_{10} = Binary 020_2 = Octal 080_8 = Hexadecimal 0160_{16}
    • Decimal 1101_{10} = Binary 121_2 = Octal 181_8 = Hexadecimal 1161_{16}
    • Decimal 2102_{10} = Binary 10210_2 = Octal 282_8 = Hexadecimal 2162_{16}
    • Decimal 3103_{10} = Binary 11211_2 = Octal 383_8 = Hexadecimal 3163_{16}
    • Decimal 4104_{10} = Binary 1002100_2 = Octal 484_8 = Hexadecimal 4164_{16}
    • Decimal 5105_{10} = Binary 1012101_2 = Octal 585_8 = Hexadecimal 5165_{16}
    • Decimal 6106_{10} = Binary 1102110_2 = Octal 686_8 = Hexadecimal 6166_{16}
    • Decimal 7107_{10} = Binary 1112111_2 = Octal 787_8 = Hexadecimal 7167_{16}
    • Decimal 8108_{10} = Binary 100021000_2 = Octal 10810_8 = Hexadecimal 8168_{16}
    • Decimal 9109_{10} = Binary 100121001_2 = Octal 11811_8 = Hexadecimal 9169_{16}
    • Decimal 101010_{10} = Binary 101021010_2 = Octal 12812_8 = Hexadecimal A16A_{16}
    • Decimal 111011_{10} = Binary 101121011_2 = Octal 13813_8 = Hexadecimal B16B_{16}
    • Decimal 121012_{10} = Binary 110021100_2 = Octal 14814_8 = Hexadecimal C16C_{16}
    • Decimal 131013_{10} = Binary 110121101_2 = Octal 15815_8 = Hexadecimal D16D_{16}
    • Decimal 141014_{10} = Binary 111021110_2 = Octal 16816_8 = Hexadecimal E16E_{16}
    • Decimal 151015_{10} = Binary 111121111_2 = Octal 17817_8 = Hexadecimal F16F_{16}
    • Decimal 161016_{10} = Binary 10000210000_2 = Octal 20820_8 = Hexadecimal 101610_{16}
    • Decimal 171017_{10} = Binary 10001210001_2 = Octal 21821_8 = Hexadecimal 111611_{16}
    • Decimal 181018_{10} = Binary 10010210010_2 = Octal 22822_8 = Hexadecimal 121612_{16}
    • Decimal 191019_{10} = Binary 10011210011_2 = Octal 23823_8 = Hexadecimal 131613_{16}
    • Decimal 201020_{10} = Binary 10100210100_2 = Octal 24824_8 = Hexadecimal 141614_{16}
    • Decimal 211021_{10} = Binary 10101210101_2 = Octal 25825_8 = Hexadecimal 151615_{16}
    • Decimal 221022_{10} = Binary 10110210110_2 = Octal 26826_8 = Hexadecimal 161616_{16}
    • Decimal 231023_{10} = Binary 10111210111_2 = Octal 27827_8 = Hexadecimal 171617_{16}

Positional Weight & Base Mechanics

  • Positional Weight Structure (Base-10 Model):

    • Digits located to the left of the radix (decimal) point represent values between zero and nine multiplied by increasing non-negative powers of ten (100,101,102,103,…10^0, 10^1, 10^2, 10^3, \dots).
    • Digits located to the right of the radix point represent values between zero and nine multiplied by increasing negative powers of ten (10−1,10−2,10−3,…10^{-1}, 10^{-2}, 10^{-3}, \dots).
    • Place values and positional weights:
    • Thousands: 103=100010^3 = 1000
    • Hundreds: 102=10010^2 = 100
    • Tens: 101=1010^1 = 10
    • Ones: 100=110^0 = 1
    • Tenths: 10−1=0.110^{-1} = 0.1
    • Hundredths: 10−2=0.0110^{-2} = 0.01
    • Thousandths: 10−3=0.00110^{-3} = 0.001
  • Fully Expanded Decimal Examples:

    • Example 1 (725.19410725.194_{10}):
    • 7×102+2×101+5×100+1×10−1+9×10−2+4×10−37 \times 10^2 + 2 \times 10^1 + 5 \times 10^0 + 1 \times 10^{-1} + 9 \times 10^{-2} + 4 \times 10^{-3}
    • =7×100+2×10+5×1+1×0.1+9×0.01+4×0.001= 7 \times 100 + 2 \times 10 + 5 \times 1 + 1 \times 0.1 + 9 \times 0.01 + 4 \times 0.001
    • =700+20+5+0.1+0.09+0.004=725.19410= 700 + 20 + 5 + 0.1 + 0.09 + 0.004 = 725.194_{10}
    • Example 2 (12510125_{10}):
    • 1×102+2×101+5×100=100+20+5=125101 \times 10^2 + 2 \times 10^1 + 5 \times 10^0 = 100 + 20 + 5 = 125_{10}

Detailed Base Conversions & Worked Examples

  • Binary to Decimal Conversion:

    • Method: Multiply each binary digit by 2n2^n, where nn is the position weight starting from 00 on the rightmost bit, and calculate the sum of all terms.
    • Example 1 (10011210011_2):
    • Term 0: 1×20=11 \times 2^0 = 1
    • Term 1: 1×21=21 \times 2^1 = 2
    • Term 2: 0×22=00 \times 2^2 = 0
    • Term 3: 0×23=00 \times 2^3 = 0
    • Term 4: 1×24=161 \times 2^4 = 16
    • Sum: 16+0+0+2+1=191016 + 0 + 0 + 2 + 1 = 19_{10}
    • Example 2 (1010112101011_2):
    • Bit 0 (weight 00): 1×20=11 \times 2^0 = 1
    • Bit 1 (weight 11): 1×21=21 \times 2^1 = 2
    • Bit 2 (weight 22): 0×22=00 \times 2^2 = 0
    • Bit 3 (weight 33): 1×23=81 \times 2^3 = 8
    • Bit 4 (weight 44): 0×24=00 \times 2^4 = 0
    • Bit 5 (weight 55): 1×25=321 \times 2^5 = 32
    • Sum: 32+0+8+0+2+1=431032 + 0 + 8 + 0 + 2 + 1 = 43_{10}
    • Example 3 (11001010211001010_2):
    • Expansion: 1×27+1×26+0×25+0×24+1×23+0×22+1×21+0×201 \times 2^7 + 1 \times 2^6 + 0 \times 2^5 + 0 \times 2^4 + 1 \times 2^3 + 0 \times 2^2 + 1 \times 2^1 + 0 \times 2^0
    • Sum: 128+64+0+0+8+0+2+0=20210128 + 64 + 0 + 0 + 8 + 0 + 2 + 0 = 202_{10}
  • Octal to Decimal Conversion:

    • Method: Multiply each octal digit by 8n8^n, where nn is the position weight starting from 00 on the rightmost digit, and add all term values.
    • Positional Placeholders for Octal System:
    • For an octal value like 2428242_8:
      • "Sixty-Fours" position (828^2): 82×2=64×2=1288^2 \times 2 = 64 \times 2 = 128
      • "Eights" position (818^1): 81×4=8×4=328^1 \times 4 = 8 \times 4 = 32
      • "Ones" position (808^0): 80×2=1×2=28^0 \times 2 = 1 \times 2 = 2
    • Example (7248724_8):
    • Digit 4 (weight 00): 4×80=4×1=44 \times 8^0 = 4 \times 1 = 4
    • Digit 2 (weight 11): 2×81=2×8=162 \times 8^1 = 2 \times 8 = 16
    • Digit 7 (weight 22): 7×82=7×64=4487 \times 8^2 = 7 \times 64 = 448
    • Sum: 448+16+4=46810448 + 16 + 4 = 468_{10}
  • Hexadecimal to Decimal Conversion:

    • Method: Multiply each hexadecimal digit by 16n16^n, where nn is the position weight starting from 00 on the rightmost digit, and sum the results. Replace letter symbols with decimal values (A=10,B=11,C=12,D=13,E=14,F=15A=10, B=11, C=12, D=13, E=14, F=15).
    • Example (ABC16ABC_{16}):
    • Digit CC (121012_{10}, weight 00): C×160=12×1=12C \times 16^0 = 12 \times 1 = 12
    • Digit BB (111011_{10}, weight 11): B×161=11×16=176B \times 16^1 = 11 \times 16 = 176
    • Digit AA (101010_{10}, weight 22): A×162=10×256=2560A \times 16^2 = 10 \times 256 = 2560
    • Sum: 2560+176+12=2748102560 + 176 + 12 = 2748_{10}
  • Decimal to Binary Conversion:

    • Method (Repeated Division by 22):
    • Divide the decimal integer by 2$.\n * Record the remainder (0oror1)ontheright.Thefirstremaindergeneratedisbit) on the right. The first remainder generated is bit0 (Least Significant Bit - LSB).\n * Divide the resulting quotient by 2 again, recording the remainder.\n * Repeat until the quotient reaches 0$.
    • Write the binary string starting from the last remainder generated (Most Significant Bit - MSB) on the left to the first remainder (LSB) on the right.
    • Example 1 (Convert 12510125_{10} to binary):
    • 125÷2=62 remainder 1125 \div 2 = 62\text{ remainder } 1 (LSB)
    • 62÷2=31 remainder 062 \div 2 = 31\text{ remainder } 0
    • 31÷2=15 remainder 131 \div 2 = 15\text{ remainder } 1
    • 15÷2=7 remainder 115 \div 2 = 7\text{ remainder } 1
    • 7÷2=3 remainder 17 \div 2 = 3\text{ remainder } 1
    • 3÷2=1 remainder 13 \div 2 = 1\text{ remainder } 1
    • 1÷2=0 remainder 11 \div 2 = 0\text{ remainder } 1 (MSB)
    • Result: 12510=11111012125_{10} = 1111101_2
    • Example 2 (Convert 33310333_{10} to binary):
    • 333÷2=166 remainder 1333 \div 2 = 166\text{ remainder } 1 (LSB)
    • 166÷2=83 remainder 0166 \div 2 = 83\text{ remainder } 0
    • 83÷2=41 remainder 183 \div 2 = 41\text{ remainder } 1
    • 41÷2=20 remainder 141 \div 2 = 20\text{ remainder } 1
    • 20÷2=10 remainder 020 \div 2 = 10\text{ remainder } 0
    • 10÷2=5 remainder 010 \div 2 = 5\text{ remainder } 0
    • 5÷2=2 remainder 15 \div 2 = 2\text{ remainder } 1
    • 2÷2=1 remainder 02 \div 2 = 1\text{ remainder } 0
    • 1÷2=0 remainder 11 \div 2 = 0\text{ remainder } 1 (MSB)
    • Result: 33310=1010011012333_{10} = 101001101_2
  • Octal to Binary Conversion:

    • Method: Convert each octal digit directly into its equivalent 3-bit binary group.
    • Example (Convert 7058705_8 to binary):
    • Digit 78→11127_8 \rightarrow 111_2
    • Digit 08→00020_8 \rightarrow 000_2
    • Digit 58→10125_8 \rightarrow 101_2
    • Result: 7058=1110001012705_8 = 111000101_2
  • Hexadecimal to Binary Conversion:

    • Method: Convert each hexadecimal digit directly into its equivalent 4-bit binary group.
    • Example (Convert 10AF1610AF_{16} to binary):
    • Digit 116→000121_{16} \rightarrow 0001_2
    • Digit 016→000020_{16} \rightarrow 0000_2
    • Digit A16→10102A_{16} \rightarrow 1010_2
    • Digit F16→11112F_{16} \rightarrow 1111_2
    • Result: 10AF16=0001000010101111210AF_{16} = 0001000010101111_2
  • Decimal to Octal Conversion:

    • Method (Repeated Division by 88):
    • Divide the decimal integer by 88 and record the remainder.
    • Continue dividing quotients by 88 until the quotient is 0$.\n * Read remainders from bottom (MSB) to top (LSB).\n * Example 1 (Convert 1234_{10} to octal):\n * 1234 \div 8 = 154\text{ remainder } 2\n * 154 \div 8 = 19\text{ remainder } 2\n * 19 \div 8 = 2\text{ remainder } 3\n * 2 \div 8 = 0\text{ remainder } 2\n * Result: 1234_{10} = 2322_8\n * Example 2 (Convert 44978_{10} to octal):\n * 44978 \div 8 = 5622\text{ remainder } 2\n * 5622 \div 8 = 702\text{ remainder } 6\n * 702 \div 8 = 87\text{ remainder } 6\n * 87 \div 8 = 10\text{ remainder } 7\n * 10 \div 8 = 1\text{ remainder } 2\n * 1 \div 8 = 0\text{ remainder } 1\n * Result: 44978_{10} = 127662_8\n\n* Decimal to Hexadecimal Conversion:\n * Method (Repeated Division by 16):\n * Divide the decimal number by 16 and record the remainder.\n * Replace remainders 10throughthrough15withcorrespondingsymbolswith corresponding symbolsAthroughthroughF$.
    • Repeat until quotient is 00. Read remainders from bottom to top.
    • Example (Convert 1234101234_{10} to hexadecimal):
    • 1234÷16=77 remainder 21234 \div 16 = 77\text{ remainder } 2
    • 77÷16=4 remainder 13 (symbol D)77 \div 16 = 4\text{ remainder } 13\text{ (symbol } D\text{)}
    • 4÷16=0 remainder 44 \div 16 = 0\text{ remainder } 4
    • Result: 123410=4D2161234_{10} = 4D2_{16}
  • Binary to Octal Conversion:

    • Method: Group binary bits into sets of three starting from the rightmost bit (LSB). Convert each 3-bit group to its octal digit.
    • Example (Convert 101101011121011010111_2 to octal):
    • Bit grouping from right: 1 011 010 1111 \, 011 \, 010 \, 111
    • Group conversions:
      • 1112=78111_2 = 7_8
      • 0102=28010_2 = 2_8
      • 0112=38011_2 = 3_8
      • 12=181_2 = 1_8
    • Result: 10110101112=132781011010111_2 = 1327_8
  • Binary to Hexadecimal Conversion:

    • Method: Group binary bits into sets of four starting from the rightmost bit (LSB). Convert each 4-bit group to its hexadecimal digit.
    • Example (Convert 101011101121010111011_2 to hexadecimal):
    • Bit grouping from right: 10 1011 101110 \, 1011 \, 1011
    • Group conversions:
      • 10112=B161011_2 = B_{16} (111011_{10})
      • 10112=B161011_2 = B_{16} (111011_{10})
      • 102=21610_2 = 2_{16}
    • Result: 10101110112=2BB161010111011_2 = 2BB_{16}
  • Octal to Hexadecimal Conversion:

    • Method: Use binary as an intermediary base:
    1. Convert octal digits into 3-bit binary groups.
    2. Regroup the resulting binary string into 4-bit groups starting from the right.
    3. Convert each 4-bit group into its hexadecimal digit.
    • Example (Convert 107681076_8 to hexadecimal):
    • Step 1 (Octal to 3-bit Binary):
      • 18→00121_8 \rightarrow 001_2
      • 08→00020_8 \rightarrow 000_2
      • 78→11127_8 \rightarrow 111_2
      • 68→11026_8 \rightarrow 110_2
      • Combined binary: 0010001111102001000111110_2
    • Step 2 (Regroup into 4-bit groups):
      • 0010 0011 11100010 \, 0011 \, 1110
    • Step 3 (4-bit Binary to Hex):
      • 11102=E161110_2 = E_{16}
      • 00112=3160011_2 = 3_{16}
      • 00102=2160010_2 = 2_{16}
    • Result: 10768=23E161076_8 = 23E_{16}
  • Hexadecimal to Octal Conversion:

    • Method: Use binary as an intermediary base:
    1. Convert hexadecimal digits into 4-bit binary groups.
    2. Regroup the resulting binary string into 3-bit groups starting from the right.
    3. Convert each 3-bit group into its octal digit.
    • Example (Convert 1F0C161F0C_{16} to octal):
    • Step 1 (Hex to 4-bit Binary):
      • 116→000121_{16} \rightarrow 0001_2
      • F16→11112F_{16} \rightarrow 1111_2
      • 016→000020_{16} \rightarrow 0000_2
      • C16→11002C_{16} \rightarrow 1100_2
      • Combined binary: 000111110000110020001111100001100_2
    • Step 2 (Regroup into 3-bit groups from right):
      • 001 111 100 001 100001 \, 111 \, 100 \, 001 \, 100
    • Step 3 (3-bit Binary to Octal):
      • 1002=48100_2 = 4_8
      • 0012=18001_2 = 1_8
      • 1002=48100_2 = 4_8
      • 1112=78111_2 = 7_8
      • 0012=18001_2 = 1_8
    • Result: 1F0C16=1741481F0C_{16} = 17414_8
  • Comprehensive Conversion Reference Table:

    • Decimal 251025_{10} | Binary 11001211001_2 | Octal 31831_8 | Hexadecimal 191619_{16}
    • Decimal 331033_{10} | Binary 1000012100001_2 | Octal 41841_8 | Hexadecimal 211021_{10}
    • Decimal 11710117_{10} | Binary 111010121110101_2 | Octal 1658165_8 | Hexadecimal 751675_{16}
    • Decimal 45110451_{10} | Binary 1110000112111000011_2 | Octal 7038703_8 | Hexadecimal 1C3161C3_{16}
    • Decimal 43110431_{10} | Binary 1101011112110101111_2 | Octal 6578657_8 | Hexadecimal 1AF161AF_{16}

Binary Arithmetic Operations

  • Binary Addition Fundamentals:

    • Basic 1-bit Addition Rules:
    • 0+0=00 + 0 = 0
    • 0+1=10 + 1 = 1
    • 1+0=11 + 0 = 1
    • 1+1=1021 + 1 = 10_2 (00 sum with a carry of 11 to the next higher bit position)
    • Carry Comparison with Decimal:
    • Decimal (Base-10): 9+1=0 carry 19 + 1 = 0\text{ carry } 1
    • Binary (Base-2): 1+1=0 carry 11 + 1 = 0\text{ carry } 1
    • Procedure for Multi-bit (nn-bit) Binary Addition:
    • Align numbers by position starting at LSB.
    • Add bits column by column.
    • Whenever a column sum is 22 (1+11+1), record 00 in that column and propagate a carry of 11 to the left column.
    • Whenever a column sum is 33 (1+1+11+1+1 from carry), record 11 in that column and propagate a carry of 11 to the left column.
    • Worked Example (101012+11001210101_2 + 11001_2):
    • Value 1: 101012=211010101_2 = 21_{10}
    • Value 2: 110012=251011001_2 = 25_{10}
    • Column addition steps:
      • Column 0 (LSB): 1+1=01 + 1 = 0, carry 11
      • Column 1: 0+0+1(carry)=10 + 0 + 1 (\text{carry}) = 1
      • Column 2: 1+0=11 + 0 = 1
      • Column 3: 0+1=10 + 1 = 1
      • Column 4: 1+1=01 + 1 = 0, carry 11
      • Column 5: 11
    • Sum: 1011102=4610101110_2 = 46_{10}
  • Practice Arithmetic Exercises:

    • Addition Problems:
    1. 1012+112=10002101_2 + 11_2 = 1000_2
    2. 1112+1112=11102111_2 + 111_2 = 1110_2
    3. 10102+10102=1010021010_2 + 1010_2 = 10100_2
    4. 111012+10102=100111211101_2 + 1010_2 = 100111_2
    5. 111112+111112=111110211111_2 + 11111_2 = 111110_2
    • Subtraction Problems:
    1. 1102−102=1002110_2 - 10_2 = 100_2
    2. 1012−112=102101_2 - 11_2 = 10_2
    3. 10012−112=11021001_2 - 11_2 = 110_2
    4. 11012−112=101021101_2 - 11_2 = 1010_2
    5. 100012−1002=1101210001_2 - 100_2 = 1101_2
  • Binary Multiplication Mechanics:

    • Decimal Comparison (35×10535 \times 105):
    • 35×5=17535 \times 5 = 175
    • 35×0=00035 \times 0 = 000
    • 35×100=350035 \times 100 = 3500
    • Total Sum: 175+000+3500=3675175 + 000 + 3500 = 3675
    • Single-bit Binary Multiplication Rules:
    • 0×0=00 \times 0 = 0
    • 0×1=00 \times 1 = 0
    • 1×0=01 \times 0 = 0
    • 1×1=11 \times 1 = 1
    • Multi-bit Binary Multiplication Steps:
    • Multiply multiplicand by each bit of the multiplier to form partial products.
    • Shift each successive partial product one bit to the left.
    • Add all partial products together using binary addition.
    • Worked Example (11102×101121110_2 \times 1011_2):
    • Multiplicand: 111021110_2 (141014_{10})
    • Multiplier: 101121011_2 (111011_{10})
    • Partial Products:
      • Bit 0 (11): 11101110
      • Bit 1 (11): 1110011100
      • Bit 2 (00): 000000000000
      • Bit 3 (11): 11100001110000
    • Summing Partial Products:
      • 11102+111002=10101021110_2 + 11100_2 = 101010_2
      • 1010102+11100002=100110102101010_2 + 1110000_2 = 10011010_2 (15410154_{10})

Fractional Number Representation & Conversions

  • Fractional Expansion in Decimal:

    • Example (3.14103.14_{10}):
    • 3×100=33 \times 10^0 = 3
    • 1×10−1=0.11 \times 10^{-1} = 0.1
    • 4×10−2=0.044 \times 10^{-2} = 0.04
    • Sum: 3+0.1+0.04=3.14103 + 0.1 + 0.04 = 3.14_{10}
  • Binary Fractional Conversion to Decimal:

    • Method:
    • For digits left of binary point, multiply by positive powers of two (20,21,22,…2^0, 2^1, 2^2, \dots).
    • For digits right of binary point, multiply by negative powers of two (2−1,2−2,2−3,2−4,…2^{-1}, 2^{-2}, 2^{-3}, 2^{-4}, \dots).
    • Negative powers of two equivalents:
      • 2−1=12=0.52^{-1} = \frac{1}{2} = 0.5
      • 2−2=14=0.252^{-2} = \frac{1}{4} = 0.25
      • 2−3=18=0.1252^{-3} = \frac{1}{8} = 0.125
      • 2−4=116=0.06252^{-4} = \frac{1}{16} = 0.0625
    • Worked Example (Convert 10.1011210.1011_2 to decimal):
    • Integer Part (10210_2):
      • 1×21=2.01 \times 2^1 = 2.0
      • 0×20=0.00 \times 2^0 = 0.0
    • Fractional Part (.10112.1011_2):
      • 1×2−1=0.51 \times 2^{-1} = 0.5
      • 0×2−2=0.00 \times 2^{-2} = 0.0
      • 1×2−3=0.1251 \times 2^{-3} = 0.125
      • 1×2−4=0.06251 \times 2^{-4} = 0.0625
    • Sum of all terms:
      • 2.0+0.0+0.5+0.0+0.125+0.0625=2.6875102.0 + 0.0 + 0.5 + 0.0 + 0.125 + 0.0625 = 2.6875_{10}