# Maximizing a base?

A five digit number in base $$n$$ has digits $$n-1$$, $$n-2$$, $$n-3$$, $$n-4$$, and $$n-5$$, arranged in any order. What is the maximum value of $$n$$ such that the five digit number is divisible by $$n-1$$?

×