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

Home > Just Math
Integral part and fractional part equation (Posted on 2025-03-10) Difficulty: 3 of 5
Find all positive numbers x such that
 1     1      1
--- - ---- = ----
[x]   [2x]   6{x}
where [x] represents the integer part of x and {x}=x-[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 solution | Comment 2 of 4 |
The below is wrong. The integer part of 2x is not the same as 2 times the integer part, which this had implicitly assumed.

The way I read this it's that the integer part of x is just floor(x) and {x} is the fractional part.

The x variable in the program below is just the integer part:

clc
for x=1:10000
  rhs=1/x-1/(2*x);
  f=1/(rhs*6);
  if f<1
  disp([x+f])
  end
end

The program figures out what the fractional part must be.  If the fractional part is 1 or larger it's not a fractional part.

The only two solutions found are

          1.33333333333333
          2.66666666666667
          
or 4/3 and 8/3.          

Edited on March 11, 2025, 7:27 am
  Posted by Charlie on 2025-03-10 13:31:10

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

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