All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Simple Adding (Posted on 2019-04-18) Difficulty: 2 of 5
I have a positive integer X.

When I add all the positive integers from 1 to X, I get a result of YYY, where Y is a positive integer from 0 to 9.

What is X?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Two Solutions | Comment 1 of 2
I already knew 666 is a triangular number, but are there other 3-repdigit triangular numbers?

Using the variables from the problem
The sum of 1 to x is (x^2 + x)/2
Represent the result as 111y
Equating the two and rearranging we get

x^2+x-222y=0

A quadratic in x whose determinant is 888y+1

The only single digit for which this is a perfect square is y=6.  
888*6+1=5329=73^2
This leads back to x=36.

(It doesn't fit, but the next value of y is 25, which leads to x=74 and the not-actually-a-reptile 2775.  You can see the 2500+250+25 though.)

-------------------------------

A simpler way to look at the problem:

111y=3*37y so either x or x+1 has 37 as a factor.

x=36 gives 666
x=37 gives 703



  Posted by Jer on 2019-04-18 09:38:52
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information