You can put this solution on YOUR website! write 508 in base eight
---
divide 508 by 8 to get
quotient: 63
and remainder: 4 this is the units digit of the base 8 number
-----------------------
divide 63 by 8 to get:
quotient: 7 since this is less than 8, this is the 8^2 digit of the base 8 #
and remainder: 7 (this the 8^1 digit of the base 8 number
========================
508 = 774(base 8)
=======
Checking
508 = 7*8^2+7*8+4 = 508
=============================
Cheers,
Stan H.