A lot of answers here are leaving out a very important detail. Most software and Virtual Memory managers work off powers of two. For example a page size on a modern machine is 4KiB (can be larger but large page sizes aren’t used much) and for efficiency most operations are done in blocks of that size. There is a ton of little details I’m leaving out but just keep in mind software plays an important role as well.
Latest Answers