so its a little tricky to explain but I'll do my best:
so of two integers x=35 and y=53 we have the octal equivalents of xOCT=43 and yOCT=65
adding the octal digits (65 and 43) we have 130.
questions:
1) what is the maximize number of octal digits in the sum x+y compared to the number of octal digits of x and y in their octal representation? (I dont really understand this question)
2) how many divisions does it take to get the octal sum of two n octal-digit-long integers? Express your answer as a function of n. Note that any division by 8 can be replaced by shifting 3 places to the right.
so of two integers x=35 and y=53 we have the octal equivalents of xOCT=43 and yOCT=65
adding the octal digits (65 and 43) we have 130.
questions:
1) what is the maximize number of octal digits in the sum x+y compared to the number of octal digits of x and y in their octal representation? (I dont really understand this question)
2) how many divisions does it take to get the octal sum of two n octal-digit-long integers? Express your answer as a function of n. Note that any division by 8 can be replaced by shifting 3 places to the right.