Let be the list of positive integers in strictly increasing order such that is an integer. Find .
This note by Arron Kau may help.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
the problem statement is equivalent to saying x x + x ! ≡ 0 ( m o d x + 1 ) .
First, note that x ≡ − 1 ( m o d x + 1 ) . Thus, x x ≡ ( − 1 ) x ( m o d x + 1 ) . Thus, for all even numbers, x x ≡ 1 ( m o d x + 1 ) and for all odd numbers, x x ≡ − 1 ( m o d x + 1 ) .
Now, let's look at x ! ( m o d x + 1 ) . Note that if x + 1 is composite, then x ! ≡ 0 ( m o d x + 1 ) , and when x + 1 is prime, x ! ≡ − 1 ( m o d x + 1 ) by Wilson's Theorem.
Thus, for x x + x ! ≡ 0 ( m o d x + 1 ) , then x ! ≡ − 1 ( m o d x + 1 ) and x x ≡ 1 ( m o d x + 1 ) . Thankfully, if x + 1 is a prime number greater than 2 , then x is even, satisfying both conditions.
Now we must check x = 1 explicitly because it is our special case. We have 1 + 1 1 1 + 1 ! = 1 which is an integer. So that means x + 1 being any prime satisfies the condition.
Thus, we want x + 1 to be the 1 0 0 th prime. By the list, this is 5 4 1 ; thus, x = 5 4 0 .