Quick answer
The E-series are sets of standard component values defined in IEC 60063. E12 has 12 values per decade (1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2) for ±10% parts; E24 has 24 values for ±5%. That's why you can buy 4.7 kΩ but not 5 kΩ.
Open the Resistor Color Code Calculator
The values are spaced evenly on a logarithmic scale, so each one is about the same percentage above the last. With ±10% tolerance, the E12 values together cover every possible resistance.
Precision ranges go further: E48 (±2%), E96 (±1%) and E192 (±0.5% and better).
When a calculation gives a value that isn't in the series, round to the nearest standard value, or for an LED resistor round up to keep the current safe.