Hacker News new | ask | show | jobs
by qweqwe14 902 days ago
This is because for any n-bit number, the maximum value is 2^n - 1, e.g. 2^8 - 1 = 255

But the number of values is just 2^n, because that includes zero.