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 Puzzle Solution Comment 2 of 2 |
By the problem, we have:
X(X+1)/2 = YYY= 111*y
X(X+1) = 222*y = 2*3*37*y
So, either X or X+1 must be a multiple of 37
or, X =37*n or  37*n-1   ......(#)
Again X(X+1)/2 <1000
or, X(X+1)  < 2000
since 44*45=1980, it follows that X<=44
The only probable values of X in consonance with (#l) are then 37 or 36
X=37 gives YYY = 37*38/2 = 703
X=36 gives: YYY = 36*37/2 = 666,
Amongst the two possibilities, only 666 is valid as a value of YYY.
Consequently, the required value of X is 36.

-------------------------------------------------------------------------------------------------------
Remembering that X(X+1)/2 gives the formula for triangular numbers, we could have done a bit of "cheating" and looked up Sloanes sequence A000217 at oeis.org, where 666 shows up as 37th entry. Knowing that A000217 consists of nonnegative values for X including 0, then X must be equal to 36.


Edited on June 4, 2022, 10:10 pm
  Posted by K Sengupta on 2022-06-04 22:02:03

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