Step 1: First convert the number into binary for this do the following.
Write down the 4 bit binary equivalent of each digit
(A2D)16 = (10100010 1101)2
Step 2: Then convert this number into octal for this do the following
Divide the number into groups of 3 bits and write the corresponding octal equivalent.
Hence the result is (5055)8