Show that the octal expansion of a positive integer can be obtained from its binary expansion by grouping together blocks of three binary digits, adding initial zeros if necessary, and translating each block of three binary digits into a single octal digit.

Solution Step 1To Show that the octal expansion of a positive integer can be obtained by first converting positive integer into its binary equivalent and then grouping binary digits into a group of 3 from the least significant bit( LSB).Step 2 Consider a positive integer 56, first we need to obtain its binary equivalent.The binary equivalent of 56 can be obtained as shown below remainder = 0 remainder = 0 remainder = 0 remainder = 1 remainder = 1 remainder = 1.Step 3 The Binary Equivalent of 56 would be the remainders from bottom of Step-2 56 = ( 111000)2Step 4 Now Converting Binary Expansion to itâ€™s equivalent Octal expansion. Given Binary Expansion = (111000)2Step 5 From the Least Significant Bit (LSB) that corresponds to the Last Bit, 3 bits are Grouped, Grouping 3 bits as shown below. 111 000