Find the sum of all positive integers x such that
x + 3 ∣ x 3 + x 2 + x + 1
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.
R e s ? Abbreviation of R e s u l t ?
I see that the question has been edited from it's original version.
Those who previously answered 1 were marked correct. The correct answer is now 27.
Log in to reply
Yes, I completely muddled it all up! I was doing it near midnight so I wasn't really paying attention.
I also arrived at this answer with a similar solution. To check, I wrote a small program to check solutions within the range (1,100000). The solutions were 1, 2, 7, 17 and 32775! Any ideas, why this is the case?
Log in to reply
According to my calculator, if x = 3 2 7 7 5 , x + 3 x 3 + x 2 + x + 1 = 1 0 7 4 1 3 5 0 8 1 + 1 6 3 8 9 1 6 3 7 9
That's really close to whole number though.
That's strange. Make sure that your program doesn't have any rounding errors, as 32775 is a rather big number.
s a y , f ( x ) = x 3 + x 2 + x + 1 f ( x ) = ( x + 3 ) ( x 2 − 2 x + 7 ) − 2 0 n o w , w e n e e d t o f i n d x f o r w h i c h x + 3 ∣ 2 0 s o t h e o n l y v a l u e s a r e a r e 2 , 1 , 7 , 1 7 s u m = 2 7
Problem Loading...
Note Loading...
Set Loading...
x 3 + x 2 + x + 1 = ( x 2 − 2 x + 7 ) × ( x + 3 ) − 2 0 ⇒ ( x + 3 ) ∣ 2 0 ⇒ x = 1 ∣ 2 ∣ 7 ∣ 1 7 R e s = 2 7