A binary number consists of only 1 and 0 digits.
A palindrome reads the same forwards and backwards.
If leading 0 digits are NOT allowed, how many 8-digit binary palindromes are there?
(For example, 11100111 is fine, while 01100110 is not.)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The first and last digit must be 1. There are no choices to be had there.
The second, third, and fourth digit can be either 0 or 1; each has 2 ways of occurring, for a total of 2 × 2 × 2 = 8 ways.
The fifth, sixth, and seventh digit must match the second, third, and fourth, so there are no choices there either.
Therefore, there are a total of 8 binary numbers that are 8-digit palindromes (with no leading zeros).