There is exactly one positive integer such that
is also an integer. Find the sum of the digits of
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.
For simplicity, let a = 2 0 1 8 . Since
∫ ( x a + x + a + x x ) d x = ∫ x ( a + x ) ( a + x ) + x d x = ∫ x ( a + x ) a + 2 x d x = ∫ u 1 d u ( Let u = x ( a + x ) , d u = a + 2 x ) = 2 u + C = 2 x ( a + x ) + C = 2 x ( 2 0 1 8 + x ) + C ,
we have
∫ 0 p ( x 2 0 1 8 + x + 2 0 1 8 + x x ) d x = n → 0 + lim ∫ n p ( x 2 0 1 8 + x + 2 0 1 8 + x x ) d x = n → 0 + lim [ 2 x ( 2 0 1 8 + x ) ] n p = n → 0 + lim ( 2 p ( 2 0 1 8 + p ) − 2 n ( 2 0 1 8 + n ) ) = 2 p ( 2 0 1 8 + p ) .
Since p is an integer, the expression 2 p ( 2 0 1 8 + p ) is an integer if p ( 2 0 1 8 + p ) is. Let b be a positive integer. We have
p ( 2 0 1 8 + p ) p ( 2 0 1 8 + p ) p 2 + 2 0 1 8 p − k 2 = k = k 2 = 0 .
In order for this quadratic to have integer solutions, its discriminant must equal a square number. Letting c be another positive integer, we have
2 0 1 8 2 − 4 ( 1 ) ( − k 2 ) 2 0 1 8 2 + ( 2 k ) 2 c 2 − ( 2 k ) 2 ( c + 2 k ) ( c − 2 k ) = c 2 = c 2 = 2 0 1 8 2 = 2 0 1 8 2 .
Both c + 2 k and c − 2 k are positive integers, and their sum is ( c + 2 k ) + ( c − 2 k ) = 2 c , which is a multiple of 2. Because 2 0 1 8 2 = 2 2 ⋅ 1 0 0 9 2 , we must partition the 2s between the two factors as such:
c + 2 k c − 2 k = 2 ⋅ 1 0 0 9 2 = 2 .
Solving this system for c yields c = 1 0 0 9 2 + 1 . Plugging this value into the quadratic formula yields p = 2 − 2 0 1 8 ± ( 1 0 0 9 2 + 1 ) . Since we want positive p , we take the plus sign to get p = 2 − 2 0 1 8 + 1 0 0 9 2 + 1 = 5 0 8 0 3 2 , which has digit sum 5 + 8 + 3 + 2 = 1 5 .