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

Home > Just Math
Find the Floor Difference (Posted on 2025-02-24) Difficulty: 3 of 5
Given that n is a small positive integer such that:
(√3+i)n=a, where a is a real number.

Find ⌊n-a⌋

Note: ⌊x⌋ is the floor of x, which is the greatest integer contained in x.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution Comment 2 of 2 |
On the Argand plane, sqrt(3)+1 is at the 30° angle and has an absolute value of 2. The value of a becomes real (and is an integer) when n is a multiple of 6 and is negative for odd multiples of 6 and positive for even multiples of 6. 

The absolute values are the respective powers of 2. When n is 6, a is -2^6. This is already an integer, so the floor function does not affect it.

           n         a        n - a
           6         -64          70
          12        4096       -4084
          18     -262144      262162
          24    16777216   -16777192

  Posted by Charlie on 2025-02-24 12:10:24
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 (12)
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