• Dont understand the rule of cutting number

Question related to mission Friendly Number

 

What is it mean "cut the number with a given base" in the task friendly-number. How is it look as a math function.

15