You Don't See This Expression Every Day

Let x 1 , x 2 , x 3 x_1,x_2,x_3\ldots be the list of positive integers in strictly increasing order such that x x + x ! x + 1 \dfrac{x^x+x!}{x+1} is an integer. Find x 100 x_{100} .

Details and Assumptions \text{Details and Assumptions}

This note by Arron Kau may help.


The answer is 540.

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.

1 solution

Daniel Liu
May 26, 2014

the problem statement is equivalent to saying x x + x ! 0 ( m o d x + 1 ) x^x+x!\equiv 0\pmod{x+1} .

First, note that x 1 ( m o d x + 1 ) x\equiv -1\pmod{x+1} . Thus, x x ( 1 ) x ( m o d x + 1 ) x^x\equiv (-1)^x\pmod{x+1} . Thus, for all even numbers, x x 1 ( m o d x + 1 ) x^x\equiv 1\pmod{x+1} and for all odd numbers, x x 1 ( m o d x + 1 ) x^x\equiv -1\pmod{x+1} .

Now, let's look at x ! ( m o d x + 1 ) x!\pmod{x+1} . Note that if x + 1 x+1 is composite, then x ! 0 ( m o d x + 1 ) x!\equiv 0\pmod{x+1} , and when x + 1 x+1 is prime, x ! 1 ( m o d x + 1 ) x!\equiv -1\pmod{x+1} by Wilson's Theorem.

Thus, for x x + x ! 0 ( m o d x + 1 ) x^x+x!\equiv 0\pmod{x+1} , then x ! 1 ( m o d x + 1 ) x!\equiv -1\pmod{x+1} and x x 1 ( m o d x + 1 ) x^x\equiv 1\pmod{x+1} . Thankfully, if x + 1 x+1 is a prime number greater than 2 2 , then x x is even, satisfying both conditions.

Now we must check x = 1 x=1 explicitly because it is our special case. We have 1 1 + 1 ! 1 + 1 = 1 \dfrac{1^1+1!}{1+1}=1 which is an integer. So that means x + 1 x+1 being any prime satisfies the condition.

Thus, we want x + 1 x+1 to be the 100 100 th prime. By the list, this is 541 541 ; thus, x = 540 x=\boxed{540} .

[ A Prime Number Generator Download 12 KB ] ( https://brilliant.org/discussions/thread/prime-number-generator/ )

Sudipta Biswas - 7 years ago

It'd be great if you added that the list of those positive integers is strictly increasing to avoid some cases of confusion. An increasing function (increasing on every interval), e.g., can take the same values at multiple points, so the same should hold for this list of positive integers. http://mathworld.wolfram.com/IncreasingFunction.html

mathh mathh - 6 years, 12 months ago

Log in to reply

In this context, it doesn't make sense for any of the x i x_i to be equal to each other, but I'll add it anyways ¨ \ddot\smile

Daniel Liu - 6 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...