Figuring out the macros (eights) is easy, moving on to find the octal number can take a bit of memory.

Maybe a future MM template will use octal numbers, but for now I am really only interested in eights.

[512][64][8][8th]

.875 = 07

.750 = 06

.625 = 05

.500 = 04

.375 = 03

.250 = 02

.125 = 01

Convert 1275 decimal to octal.

Divide 1275 by 2 three times:

637.5

318.75

159.375 eights

Write the number of 8ths that = the decimal value: [3] (.375 is 3)

Now how many sixty-fours in 159 eights?

Divide 159 by 2 three times:

79.5

39.75

19.875 sixty-fours

Write the number of 8ths that = the decimal value: [7][3] (.875 is 7)

Frome here it is easy to solve: 19 = 2x8+3 or 23

for octal [2][3][7][3], but lets continue...

Now how many five-hundred & twelves in 19 sixty-fours?

9.5

4.75

2.375 five-hundred and twelves.

Write the number of 8ths that = the decimal value: [3][7][3] and then

add the number of 512: [2][3][7][3], 02373.

0[2*512][3*64][7*8][3/8]