Indeed. You can just think of finding that number as counting up from zero the decimal number of times with the digit set of the format you want it. For example, the digit set of duodecimal is 0,1,2,3,4,5,6,7,8,9,A,B , soto count to decimal 17 you would need to go through 17 numbers other than 0, ie 0,1,2,3,4,5,6,7,8,9,A,B,10,11,12,13,14,15.
BGS's method is actually the same thing, but it is much quicker to do because it uses the fact that dividing will leave you with the number in the largest 'column' used.