Is $lfloor2sqrtn-lfloor sqrtn rfloorrfloor <lfloor2sqrtn rfloor$ true for $ngeq 0$? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)$lfloor sqrt n+sqrt n+1+sqrtn+2+sqrtn+3+sqrtn+4rfloor=lfloorsqrt 25n+49rfloor$ is true?Is this proof that $lfloor x rfloor geq n leftlfloor fracxn rightrfloor$ correct?How prove this$lfloor sqrt2x-lfloorsqrt2xrfloorrfloor=lfloorfracsqrt8x+1-12rfloor$$lfloor xrfloor + lfloor yrfloor leq lfloor x+yrfloor$ for every pair of numbers of $x$ and $y$Solve $lfloor sqrt x rfloor = lfloor x/2 rfloor$ for real $x$Is there a simple way of proving that $lfloorsqrtnrfloor+lfloorsqrt4n+1rfloor = lfloorfrac32 lfloor sqrt4n+1 rfloorrfloor$?Prove that $lfloor 2x rfloor + lfloor 2y rfloor geq lfloor x rfloor + lfloor y rfloor + lfloor x+y rfloor$ for all real $x$ and $y$.Prove $lfloor 2x rfloor + lfloor 2y rfloor geq lfloor x rfloor + lfloor yrfloor+lfloor x+yrfloor$Prove or disprove: $phi: mathbbN to mathbbNtext, phi(n) = lfloor n cdot | sin( sqrt2 cdot n ) | rfloor$ is surjectiveCounterexample for floor function: $lfloor x+y rfloor geq lfloor x rfloor + lfloor y rfloor $

Random body shuffle every night—can we still function?

License to disallow distribution in closed source software, but allow exceptions made by owner?

Are the endpoints of the domain of a function counted as critical points?

Why weren't discrete x86 CPUs ever used in game hardware?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

What does it mean that physics no longer uses mechanical models to describe phenomena?

Can you force honesty by using the Speak with Dead and Zone of Truth spells together?

Monty Hall Problem-Probability Paradox

How do living politicians protect their readily obtainable signatures from misuse?

Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?

New Order #6: Easter Egg

Why does electrolysis of aqueous concentrated sodium bromide produce bromine at the anode?

One-one communication

How to force a browser when connecting to a specific domain to be https only using only the client machine?

Tannaka duality for semisimple groups

Why is it faster to reheat something than it is to cook it?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

The Nth Gryphon Number

Does silver oxide react with hydrogen sulfide?

The test team as an enemy of development? And how can this be avoided?

Tips to organize LaTeX presentations for a semester

What adaptations would allow standard fantasy dwarves to survive in the desert?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Select every other edge (they share a common vertex)



Is $lfloor2sqrtn-lfloor sqrtn rfloorrfloor



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)$lfloor sqrt n+sqrt n+1+sqrtn+2+sqrtn+3+sqrtn+4rfloor=lfloorsqrt 25n+49rfloor$ is true?Is this proof that $lfloor x rfloor geq n leftlfloor fracxn rightrfloor$ correct?How prove this$lfloor sqrt2x-lfloorsqrt2xrfloorrfloor=lfloorfracsqrt8x+1-12rfloor$$lfloor xrfloor + lfloor yrfloor leq lfloor x+yrfloor$ for every pair of numbers of $x$ and $y$Solve $lfloor sqrt x rfloor = lfloor x/2 rfloor$ for real $x$Is there a simple way of proving that $lfloorsqrtnrfloor+lfloorsqrt4n+1rfloor = lfloorfrac32 lfloor sqrt4n+1 rfloorrfloor$?Prove that $lfloor 2x rfloor + lfloor 2y rfloor geq lfloor x rfloor + lfloor y rfloor + lfloor x+y rfloor$ for all real $x$ and $y$.Prove $lfloor 2x rfloor + lfloor 2y rfloor geq lfloor x rfloor + lfloor yrfloor+lfloor x+yrfloor$Prove or disprove: $phi: mathbbN to mathbbNtext, phi(n) = lfloor n cdot | sin( sqrt2 cdot n ) | rfloor$ is surjectiveCounterexample for floor function: $lfloor x+y rfloor geq lfloor x rfloor + lfloor y rfloor $










-1












$begingroup$


I have reasons to believe that $lfloor2sqrtn-lfloor sqrtn rfloorrfloor <lfloor2sqrtn rfloor$ for $ngeq 0$. How could I go about proving (or disproving) this?










share|cite|improve this question









$endgroup$











  • $begingroup$
    I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
    $endgroup$
    – rtybase
    Apr 2 at 8:51










  • $begingroup$
    Did you even try $n=0$ !?
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:51















-1












$begingroup$


I have reasons to believe that $lfloor2sqrtn-lfloor sqrtn rfloorrfloor <lfloor2sqrtn rfloor$ for $ngeq 0$. How could I go about proving (or disproving) this?










share|cite|improve this question









$endgroup$











  • $begingroup$
    I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
    $endgroup$
    – rtybase
    Apr 2 at 8:51










  • $begingroup$
    Did you even try $n=0$ !?
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:51













-1












-1








-1





$begingroup$


I have reasons to believe that $lfloor2sqrtn-lfloor sqrtn rfloorrfloor <lfloor2sqrtn rfloor$ for $ngeq 0$. How could I go about proving (or disproving) this?










share|cite|improve this question









$endgroup$




I have reasons to believe that $lfloor2sqrtn-lfloor sqrtn rfloorrfloor <lfloor2sqrtn rfloor$ for $ngeq 0$. How could I go about proving (or disproving) this?







discrete-mathematics inequality real-numbers floor-function






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Apr 2 at 8:18









DavidDavid

619417




619417











  • $begingroup$
    I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
    $endgroup$
    – rtybase
    Apr 2 at 8:51










  • $begingroup$
    Did you even try $n=0$ !?
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:51
















  • $begingroup$
    I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
    $endgroup$
    – rtybase
    Apr 2 at 8:51










  • $begingroup$
    Did you even try $n=0$ !?
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:51















$begingroup$
I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
$endgroup$
– rtybase
Apr 2 at 8:51




$begingroup$
I am afraid, you have accepted the answer too earlier. All you have to do is to change $<$ with $leq$.
$endgroup$
– rtybase
Apr 2 at 8:51












$begingroup$
Did you even try $n=0$ !?
$endgroup$
– Yves Daoust
Apr 2 at 9:51




$begingroup$
Did you even try $n=0$ !?
$endgroup$
– Yves Daoust
Apr 2 at 9:51










3 Answers
3






active

oldest

votes


















2












$begingroup$

You could start by checking the inequality for small values of $n$. You would find that it is false already for $n=2$.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
    $endgroup$
    – rtybase
    Apr 2 at 8:46











  • $begingroup$
    @rtybase: there are infinitely many equalities. See my answer.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:24










  • $begingroup$
    @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
    $endgroup$
    – rtybase
    Apr 2 at 9:33










  • $begingroup$
    @rtybase: non strict is immediate.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:36






  • 1




    $begingroup$
    @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:42



















2












$begingroup$

$$lfloor2sqrt xrfloor$$ is a non-decreasing function so it is obvious that



$$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloorle lfloor2sqrt nrfloor$$ holds.



The interesting cases are equality, i.e.
$$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloor=lfloor2sqrt nrfloor.$$



The function $lfloor2sqrt xrfloor$ remains the constant $m$ for



$$m^2le4nle(m+1)^2-1.$$



So we need



$$m^2le 4(n-lfloorsqrt nrfloor)le m^2+2m.$$



As
$$leftlfloorfrac m2rightrfloorlelfloorsqrt nrfloorleleftlfloorfrac sqrtm(m+2)2rightrfloor,$$ by addition and taking the tightest bounds,



$$m^2+4leftlfloorfrac m2rightrfloorle 4nle m^2+2m,$$ which is not void for even $m$.



Every $m=2k$, i.e. $n=k(k+1)$ makes the equality, as



$$k(k+1)-leftlfloorsqrtk(k+1)rightrfloor=k^2$$ and



$$leftlfloor2sqrtk(k+1)rightrfloor=leftlfloor2sqrtk^2rightrfloor=2k.$$



There are no other solutions.






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Nice answer! (+1) ... to a badly formulated question
    $endgroup$
    – rtybase
    Apr 2 at 9:41










  • $begingroup$
    @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:45


















0












$begingroup$

Hint. It is true if you replace $<$ with $leq$ and use the fact that




Proposition. If $xleq y Rightarrow lfloor x rfloor leq lfloor y rfloor$





From that proposition, $forall ngeq 0$
$$0leq2sqrtn-lfloor sqrtn rfloor leq 2sqrtn iff lfloor sqrtn rfloor geq 0$$
and as a result



$$lfloor2sqrtn-lfloor sqrtn rfloorrfloor leqlfloor2sqrtn rfloor $$






share|cite|improve this answer









$endgroup$













    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171612%2fis-lfloor2-sqrtn-lfloor-sqrtn-rfloor-rfloor-lfloor2-sqrtn-rfloor%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    You could start by checking the inequality for small values of $n$. You would find that it is false already for $n=2$.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
      $endgroup$
      – rtybase
      Apr 2 at 8:46











    • $begingroup$
      @rtybase: there are infinitely many equalities. See my answer.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:24










    • $begingroup$
      @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
      $endgroup$
      – rtybase
      Apr 2 at 9:33










    • $begingroup$
      @rtybase: non strict is immediate.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:36






    • 1




      $begingroup$
      @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:42
















    2












    $begingroup$

    You could start by checking the inequality for small values of $n$. You would find that it is false already for $n=2$.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
      $endgroup$
      – rtybase
      Apr 2 at 8:46











    • $begingroup$
      @rtybase: there are infinitely many equalities. See my answer.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:24










    • $begingroup$
      @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
      $endgroup$
      – rtybase
      Apr 2 at 9:33










    • $begingroup$
      @rtybase: non strict is immediate.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:36






    • 1




      $begingroup$
      @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:42














    2












    2








    2





    $begingroup$

    You could start by checking the inequality for small values of $n$. You would find that it is false already for $n=2$.






    share|cite|improve this answer









    $endgroup$



    You could start by checking the inequality for small values of $n$. You would find that it is false already for $n=2$.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Apr 2 at 8:32









    LithoLitho

    3,5181716




    3,5181716











    • $begingroup$
      For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
      $endgroup$
      – rtybase
      Apr 2 at 8:46











    • $begingroup$
      @rtybase: there are infinitely many equalities. See my answer.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:24










    • $begingroup$
      @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
      $endgroup$
      – rtybase
      Apr 2 at 9:33










    • $begingroup$
      @rtybase: non strict is immediate.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:36






    • 1




      $begingroup$
      @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:42

















    • $begingroup$
      For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
      $endgroup$
      – rtybase
      Apr 2 at 8:46











    • $begingroup$
      @rtybase: there are infinitely many equalities. See my answer.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:24










    • $begingroup$
      @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
      $endgroup$
      – rtybase
      Apr 2 at 9:33










    • $begingroup$
      @rtybase: non strict is immediate.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:36






    • 1




      $begingroup$
      @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:42
















    $begingroup$
    For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
    $endgroup$
    – rtybase
    Apr 2 at 8:46





    $begingroup$
    For $n=2$ LHS=RHS, it's a corner case, other than that, it seems true
    $endgroup$
    – rtybase
    Apr 2 at 8:46













    $begingroup$
    @rtybase: there are infinitely many equalities. See my answer.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:24




    $begingroup$
    @rtybase: there are infinitely many equalities. See my answer.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:24












    $begingroup$
    @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
    $endgroup$
    – rtybase
    Apr 2 at 9:33




    $begingroup$
    @YvesDaoust, yes, true ... I am not sure if that's what OP was after (strict $<$ or $leq$). $n=0$ is easier to check than $n=2$.
    $endgroup$
    – rtybase
    Apr 2 at 9:33












    $begingroup$
    @rtybase: non strict is immediate.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:36




    $begingroup$
    @rtybase: non strict is immediate.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:36




    1




    1




    $begingroup$
    @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:42





    $begingroup$
    @rtybase: I don't think so. You are hypothesizing that the question could be with $le$. But as its stands, there is no ambiguity: it is wrong. The OP should indeed have observed that it doesn't work with $n=0$ (which he willingly included in the domain).
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:42












    2












    $begingroup$

    $$lfloor2sqrt xrfloor$$ is a non-decreasing function so it is obvious that



    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloorle lfloor2sqrt nrfloor$$ holds.



    The interesting cases are equality, i.e.
    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloor=lfloor2sqrt nrfloor.$$



    The function $lfloor2sqrt xrfloor$ remains the constant $m$ for



    $$m^2le4nle(m+1)^2-1.$$



    So we need



    $$m^2le 4(n-lfloorsqrt nrfloor)le m^2+2m.$$



    As
    $$leftlfloorfrac m2rightrfloorlelfloorsqrt nrfloorleleftlfloorfrac sqrtm(m+2)2rightrfloor,$$ by addition and taking the tightest bounds,



    $$m^2+4leftlfloorfrac m2rightrfloorle 4nle m^2+2m,$$ which is not void for even $m$.



    Every $m=2k$, i.e. $n=k(k+1)$ makes the equality, as



    $$k(k+1)-leftlfloorsqrtk(k+1)rightrfloor=k^2$$ and



    $$leftlfloor2sqrtk(k+1)rightrfloor=leftlfloor2sqrtk^2rightrfloor=2k.$$



    There are no other solutions.






    share|cite|improve this answer











    $endgroup$








    • 1




      $begingroup$
      Nice answer! (+1) ... to a badly formulated question
      $endgroup$
      – rtybase
      Apr 2 at 9:41










    • $begingroup$
      @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:45















    2












    $begingroup$

    $$lfloor2sqrt xrfloor$$ is a non-decreasing function so it is obvious that



    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloorle lfloor2sqrt nrfloor$$ holds.



    The interesting cases are equality, i.e.
    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloor=lfloor2sqrt nrfloor.$$



    The function $lfloor2sqrt xrfloor$ remains the constant $m$ for



    $$m^2le4nle(m+1)^2-1.$$



    So we need



    $$m^2le 4(n-lfloorsqrt nrfloor)le m^2+2m.$$



    As
    $$leftlfloorfrac m2rightrfloorlelfloorsqrt nrfloorleleftlfloorfrac sqrtm(m+2)2rightrfloor,$$ by addition and taking the tightest bounds,



    $$m^2+4leftlfloorfrac m2rightrfloorle 4nle m^2+2m,$$ which is not void for even $m$.



    Every $m=2k$, i.e. $n=k(k+1)$ makes the equality, as



    $$k(k+1)-leftlfloorsqrtk(k+1)rightrfloor=k^2$$ and



    $$leftlfloor2sqrtk(k+1)rightrfloor=leftlfloor2sqrtk^2rightrfloor=2k.$$



    There are no other solutions.






    share|cite|improve this answer











    $endgroup$








    • 1




      $begingroup$
      Nice answer! (+1) ... to a badly formulated question
      $endgroup$
      – rtybase
      Apr 2 at 9:41










    • $begingroup$
      @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:45













    2












    2








    2





    $begingroup$

    $$lfloor2sqrt xrfloor$$ is a non-decreasing function so it is obvious that



    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloorle lfloor2sqrt nrfloor$$ holds.



    The interesting cases are equality, i.e.
    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloor=lfloor2sqrt nrfloor.$$



    The function $lfloor2sqrt xrfloor$ remains the constant $m$ for



    $$m^2le4nle(m+1)^2-1.$$



    So we need



    $$m^2le 4(n-lfloorsqrt nrfloor)le m^2+2m.$$



    As
    $$leftlfloorfrac m2rightrfloorlelfloorsqrt nrfloorleleftlfloorfrac sqrtm(m+2)2rightrfloor,$$ by addition and taking the tightest bounds,



    $$m^2+4leftlfloorfrac m2rightrfloorle 4nle m^2+2m,$$ which is not void for even $m$.



    Every $m=2k$, i.e. $n=k(k+1)$ makes the equality, as



    $$k(k+1)-leftlfloorsqrtk(k+1)rightrfloor=k^2$$ and



    $$leftlfloor2sqrtk(k+1)rightrfloor=leftlfloor2sqrtk^2rightrfloor=2k.$$



    There are no other solutions.






    share|cite|improve this answer











    $endgroup$



    $$lfloor2sqrt xrfloor$$ is a non-decreasing function so it is obvious that



    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloorle lfloor2sqrt nrfloor$$ holds.



    The interesting cases are equality, i.e.
    $$leftlfloor2sqrtn-lfloorsqrt nrfloorrightrfloor=lfloor2sqrt nrfloor.$$



    The function $lfloor2sqrt xrfloor$ remains the constant $m$ for



    $$m^2le4nle(m+1)^2-1.$$



    So we need



    $$m^2le 4(n-lfloorsqrt nrfloor)le m^2+2m.$$



    As
    $$leftlfloorfrac m2rightrfloorlelfloorsqrt nrfloorleleftlfloorfrac sqrtm(m+2)2rightrfloor,$$ by addition and taking the tightest bounds,



    $$m^2+4leftlfloorfrac m2rightrfloorle 4nle m^2+2m,$$ which is not void for even $m$.



    Every $m=2k$, i.e. $n=k(k+1)$ makes the equality, as



    $$k(k+1)-leftlfloorsqrtk(k+1)rightrfloor=k^2$$ and



    $$leftlfloor2sqrtk(k+1)rightrfloor=leftlfloor2sqrtk^2rightrfloor=2k.$$



    There are no other solutions.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Apr 2 at 9:44

























    answered Apr 2 at 9:16









    Yves DaoustYves Daoust

    133k676232




    133k676232







    • 1




      $begingroup$
      Nice answer! (+1) ... to a badly formulated question
      $endgroup$
      – rtybase
      Apr 2 at 9:41










    • $begingroup$
      @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:45












    • 1




      $begingroup$
      Nice answer! (+1) ... to a badly formulated question
      $endgroup$
      – rtybase
      Apr 2 at 9:41










    • $begingroup$
      @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
      $endgroup$
      – Yves Daoust
      Apr 2 at 9:45







    1




    1




    $begingroup$
    Nice answer! (+1) ... to a badly formulated question
    $endgroup$
    – rtybase
    Apr 2 at 9:41




    $begingroup$
    Nice answer! (+1) ... to a badly formulated question
    $endgroup$
    – rtybase
    Apr 2 at 9:41












    $begingroup$
    @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:45




    $begingroup$
    @rtybase: I was fearing that the inequalities couldn't be sorted out. But in the end it worked.
    $endgroup$
    – Yves Daoust
    Apr 2 at 9:45











    0












    $begingroup$

    Hint. It is true if you replace $<$ with $leq$ and use the fact that




    Proposition. If $xleq y Rightarrow lfloor x rfloor leq lfloor y rfloor$





    From that proposition, $forall ngeq 0$
    $$0leq2sqrtn-lfloor sqrtn rfloor leq 2sqrtn iff lfloor sqrtn rfloor geq 0$$
    and as a result



    $$lfloor2sqrtn-lfloor sqrtn rfloorrfloor leqlfloor2sqrtn rfloor $$






    share|cite|improve this answer









    $endgroup$

















      0












      $begingroup$

      Hint. It is true if you replace $<$ with $leq$ and use the fact that




      Proposition. If $xleq y Rightarrow lfloor x rfloor leq lfloor y rfloor$





      From that proposition, $forall ngeq 0$
      $$0leq2sqrtn-lfloor sqrtn rfloor leq 2sqrtn iff lfloor sqrtn rfloor geq 0$$
      and as a result



      $$lfloor2sqrtn-lfloor sqrtn rfloorrfloor leqlfloor2sqrtn rfloor $$






      share|cite|improve this answer









      $endgroup$















        0












        0








        0





        $begingroup$

        Hint. It is true if you replace $<$ with $leq$ and use the fact that




        Proposition. If $xleq y Rightarrow lfloor x rfloor leq lfloor y rfloor$





        From that proposition, $forall ngeq 0$
        $$0leq2sqrtn-lfloor sqrtn rfloor leq 2sqrtn iff lfloor sqrtn rfloor geq 0$$
        and as a result



        $$lfloor2sqrtn-lfloor sqrtn rfloorrfloor leqlfloor2sqrtn rfloor $$






        share|cite|improve this answer









        $endgroup$



        Hint. It is true if you replace $<$ with $leq$ and use the fact that




        Proposition. If $xleq y Rightarrow lfloor x rfloor leq lfloor y rfloor$





        From that proposition, $forall ngeq 0$
        $$0leq2sqrtn-lfloor sqrtn rfloor leq 2sqrtn iff lfloor sqrtn rfloor geq 0$$
        and as a result



        $$lfloor2sqrtn-lfloor sqrtn rfloorrfloor leqlfloor2sqrtn rfloor $$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Apr 2 at 9:01









        rtybasertybase

        11.7k31534




        11.7k31534



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171612%2fis-lfloor2-sqrtn-lfloor-sqrtn-rfloor-rfloor-lfloor2-sqrtn-rfloor%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Boston (Lincolnshire) Stedsbyld | Berne yn Boston | NavigaasjemenuBoston Borough CouncilBoston, Lincolnshire

            Trouble understanding the speech of overseas colleaguesHow can I better understand manager or clients with strong accents?Adding more movement and speech at the fundamental level to a highly-sedentary job?Difficulty in understanding Manager's accent(language and communication)How to adjust yourself where your colleagues are not understanding to you?Understanding manager's expectationsForeigner and colleagues using slangHaving difficulty understanding meetingsHow do you breathe when giving a speech?Trouble Waking Up for Emergencies (On-Call)Problems with colleaguesColleagues feeling insecure when I do my work

            Ballerup Komuun Stääden an saarpen | Futnuuten | Luke uk diar | Nawigatsjuunwww.ballerup.dkwww.statistikbanken.dk: Tabelle BEF44 (Folketal pr. 1. januar fordelt på byer)Commonskategorii: Ballerup Komuun55° 44′ N, 12° 22′ O