Find the code
In a library,books are being coded with this method AAA, AAB,...,AAZ, ABA, ABB, ..., ABZ, ACA, ...
What is the code of the 8273(th) book ?
i followed some hints,and i found the code (Euclid's division)
is it correct ?
is there any other way to solve this problem ? because i don't understand how the Euclid's division helps find the solution(Wondering)
thanks a lot.
We are working with three-digit "numbers", written in base-26,
. . using the "digits": .
With the Euclidean Algorithm, we have: .
thanks a lot(Happy) ( (Wink))
In base 26 notation it appears that
Originally Posted by Soroban
A=0, B=1, C=2, D=3, E=4, F=5, G=6, ... ,M=12
IF AAA identifies the first book:
The first book has serial number equivalent to zero.
The 8273rd book should therefore should have a serial number equivalent to 8272.
12 = M
6 = G
4 = E
If I were doing the coding,
the 8273rd book would have code: MGE
thanks a lot(Happy),i was searching for an explanation like that,very well indeed(Wink)