🔢 Sistemas de Numeración

Binario • Octal • Decimal • Hexadecimal

Conversión Decimal ↔ Base B

  • Decimal a base B: dividir sucesivamente
  • Partes decimales: multiplicar por la base sucesiva
  • Binario: Base 2 | Octal: Base 8 | Hex: Base 16
Ejemplo: 77.1875 en base 10 = 1001101.0011 en binario

Conversiones Base-Base

  • Binario ↔ Octal ↔ Hexadecimal ↔ Decimal
  • Múltiples divisiones/conversiones según tabla de potencias
Código binario y tabla de potencias de 2, 8, 16:
1 - 2 - 4 - 8 - 16 - 32 - ... (Binario) 8 - 64 - 512 ... (Octal) 16 - 256 - 4096 ... (Hexadecimal)
De binario a otras bases: Agrupos de bits | De hexadecimal a binario: 1 hex = 4 bits | Octal a binario: 1 octal = 3 bits
General bases a decimal: N = n0*B^0 + n1*B^1 + n2*B^2 ...