Given the integer n≥2 and a integer a, which is coprime with n. A country has n islands D1, D2, ⋯, Dn. For any 1≤i=j≤n, there is a one-way ferry Di to Dj if and only if ij≡ia(modn). A tourist can initially fly to any of the islands, and then he can only take a one-way ferry. What is the maximum number of islands he can visit?Created by Zhenhua Qu combinatoricsgraph theoryChina TST