3 kyu

The smallest n such that n^n mod m = 0

You have not earned access to this kata's solutions

Solutions are locked for kata ranked far above your rank. Rank up or complete this kata to view the solutions.