Computing solutions to the congruence 1n + 2n + …b + nn p n
Abstract
It is well-known that the congruence Σi=1 n i n 1 n has exactly five solutions: \1,2,6,42,1806\. In this work, we characterize the solutions to the congruence 1n + 2n + …b + nn p n for every prime p. This characterization leads to an algorithm for computing all such solutions, when there is a finite number of them. More generally, our algorithm enables computing all the solutions below a much higher bound as compared to what can be achieved by a naive exhaustive search.
0