∫ 0 N x { x } d x
X is the smallest positive integer N such that the integral above is an integer. If no such N exists, then let X = 0 .
Y is the smallest positive integer N such that the integral above is a perfect square . If no such N exists, then let Y = 0 .
What is X + Y ?
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.
a very nice thought process..
Another way I did the final bit to prove that no such Y exists was to multiply 3 N 2 + N + 1 2 M 2 by 1 2 to give 3 6 N 2 + 1 2 N = 1 4 4 M 2 . You can then factorise the right and complete the square on the left to give ( 6 N + 1 ) 2 − 1 = ( 1 2 M ) 2 . This means we need two square numbers which are only 1 apart. This only occurs when N = 0 and M = 0 which isn't acceptable as N > 0 . Therefore no such N exists to make the equality work.
Nice sum n prove sir. Upvoted and liked🖒🖒.
Problem Loading...
Note Loading...
Set Loading...
One fun way to think about this integral is to look at I k = ∫ k − 1 k x { x } d x , where k ∈ { 1 , 2 , … , N } . Informally speaking, we're integrating as { x } goes from 0 → 1 , each time adding 1 to the multiplier value as we go along (as k goes from 1 → N ), so each piece of the integral I k + 1 will be ∫ 0 1 x d x = 2 1 more than the previous piece I k .
More formally, I k + 1 − I k = ∫ k k + 1 x { x } d x − ∫ k − 1 k x { x } d x = x → x + 1 , { x + 1 } = { x } ∫ k − 1 k ( x + 1 ) { x } d x − ∫ k − 1 k x { x } d x = ∫ k − 1 k { x } d x = ∫ 0 1 x d x = 2 1 .
Now, note that I 1 = ∫ 0 1 x { x } d x = ∫ 0 1 x 2 d x = 3 1 . Then, our integral is I 1 + I 2 + ⋯ + I N = 3 1 + ( 3 1 + 2 1 ) + ⋯ + ( 3 1 + ( N − 1 ) ⋅ 2 1 ) = 3 N + 4 ( N − 1 ) ( N ) = 1 2 3 N 2 + N .
Since 1 2 = 3 ⋅ 4 , we need 3 N 2 + N to be divisible by 3 and 4 . Since 3 ∣ 3 N 2 , we must have 3 ∣ N . It's quick to check N = 3 , 6 , 9 , … and see that N = 9 is the smallest solution.
On the other hand, if we had a perfect square 1 2 3 N 2 + N = M 2 , this would imply that 3 N 2 + N = 1 2 M 2 ⟺ N = 3 ( 4 M 2 − N 2 ) = 3 ( 2 M + N ) ( 2 M − N ) . However, this is impossible, since N cannot be the product of three integers where one of the integers is greater than N (here, 2 M + N > N . )
Thus, X + Y = 9 + 0 = 9 .