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

Home > Just Math
Distinct Values of an Expression Involving Floor Function (Posted on 2023-06-06) Difficulty: 3 of 5
Find the number of distinct values of this expression:
⌊N/4⌋ - ⌊N/7⌋ - ⌊N/14⌋ - ⌊N/28⌋

Notes:
1) ⌊x⌋ is the floor of x, which is the greatest integer less than or equal to x.
2) Adapted from a problem appearing in Singapore Mathematical Olympiad, Junior 2022.

  Submitted by K Sengupta    
Rating: 5.0000 (1 votes)
Solution: (Hide)
The given expression can only take on 3 values that is, 0,1,2.

For an explanation, refer to the solution submitted by FrankM in this location.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Solution and reasoningFrankM2023-06-06 16:53: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 (6)
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