Does $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor =...
Does $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = leftlfloordfrac{x}{i}rightrfloor$?
where $i le x^2$ and $x$ are any positive integer.
Intuitively, this doesn't seem correct to me but here's my argument which appears valid:
(1) There exists an integer $a$ such that: $x equiv a pmod i$ where $0 le a < i$
(2) $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = dfrac{x^2 + x - a^2 - a}{i} - dfrac{x^2 - a^2}{i} = dfrac{x-a}{i} = leftlfloordfrac{x}{i}rightrfloor$
Is my argument wrong? Is my intuition wrong?
proof-verification floor-function
add a comment |
Does $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = leftlfloordfrac{x}{i}rightrfloor$?
where $i le x^2$ and $x$ are any positive integer.
Intuitively, this doesn't seem correct to me but here's my argument which appears valid:
(1) There exists an integer $a$ such that: $x equiv a pmod i$ where $0 le a < i$
(2) $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = dfrac{x^2 + x - a^2 - a}{i} - dfrac{x^2 - a^2}{i} = dfrac{x-a}{i} = leftlfloordfrac{x}{i}rightrfloor$
Is my argument wrong? Is my intuition wrong?
proof-verification floor-function
2
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
1
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02
add a comment |
Does $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = leftlfloordfrac{x}{i}rightrfloor$?
where $i le x^2$ and $x$ are any positive integer.
Intuitively, this doesn't seem correct to me but here's my argument which appears valid:
(1) There exists an integer $a$ such that: $x equiv a pmod i$ where $0 le a < i$
(2) $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = dfrac{x^2 + x - a^2 - a}{i} - dfrac{x^2 - a^2}{i} = dfrac{x-a}{i} = leftlfloordfrac{x}{i}rightrfloor$
Is my argument wrong? Is my intuition wrong?
proof-verification floor-function
Does $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = leftlfloordfrac{x}{i}rightrfloor$?
where $i le x^2$ and $x$ are any positive integer.
Intuitively, this doesn't seem correct to me but here's my argument which appears valid:
(1) There exists an integer $a$ such that: $x equiv a pmod i$ where $0 le a < i$
(2) $leftlfloordfrac{x^2+x}{i}rightrfloor - leftlfloordfrac{x^2}{i}rightrfloor = dfrac{x^2 + x - a^2 - a}{i} - dfrac{x^2 - a^2}{i} = dfrac{x-a}{i} = leftlfloordfrac{x}{i}rightrfloor$
Is my argument wrong? Is my intuition wrong?
proof-verification floor-function
proof-verification floor-function
edited Nov 20 '18 at 16:50
asked Nov 20 '18 at 16:45
Larry Freeman
3,23921239
3,23921239
2
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
1
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02
add a comment |
2
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
1
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02
2
2
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
1
1
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02
add a comment |
1 Answer
1
active
oldest
votes
Consider x = 7 and i = 5.
you get
$leftlfloordfrac{49+7}{5}rightrfloor = 11$
$leftlfloordfrac{49}{5}rightrfloor = 9$
$leftlfloordfrac{7}{5}rightrfloor = 1$
as you see the equation doesn't hold.
Your intuition is right and the argument is wrong. The same argument should follow the following logic
$dfrac{x}{i} = k + dfrac{a}{i}$ where $k$ is highest possible positive integer without making term a negative
$dfrac{x^2}{i} = l + dfrac{a^2}{i}$
$leftlfloordfrac{x^2+x}{ i}rightrfloor = k + l + leftlfloordfrac{a+a^2}{i}rightrfloor$
$leftlfloordfrac{x^2}{i}rightrfloor = l + leftlfloordfrac{a^2}{i}rightrfloor$
$leftlfloordfrac{x}{i}rightrfloor = k + leftlfloordfrac{a}{i}rightrfloor$
as you see the floor terms are not necessarily equal. There could be cases when $a+a^2$
is higher than $i$ when both $a$ and $a^2$ are less than $i$.
Hope it helps
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006557%2fdoes-left-lfloor-dfracx2xi-right-rfloor-left-lfloor-dfracx2i-rig%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Consider x = 7 and i = 5.
you get
$leftlfloordfrac{49+7}{5}rightrfloor = 11$
$leftlfloordfrac{49}{5}rightrfloor = 9$
$leftlfloordfrac{7}{5}rightrfloor = 1$
as you see the equation doesn't hold.
Your intuition is right and the argument is wrong. The same argument should follow the following logic
$dfrac{x}{i} = k + dfrac{a}{i}$ where $k$ is highest possible positive integer without making term a negative
$dfrac{x^2}{i} = l + dfrac{a^2}{i}$
$leftlfloordfrac{x^2+x}{ i}rightrfloor = k + l + leftlfloordfrac{a+a^2}{i}rightrfloor$
$leftlfloordfrac{x^2}{i}rightrfloor = l + leftlfloordfrac{a^2}{i}rightrfloor$
$leftlfloordfrac{x}{i}rightrfloor = k + leftlfloordfrac{a}{i}rightrfloor$
as you see the floor terms are not necessarily equal. There could be cases when $a+a^2$
is higher than $i$ when both $a$ and $a^2$ are less than $i$.
Hope it helps
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
add a comment |
Consider x = 7 and i = 5.
you get
$leftlfloordfrac{49+7}{5}rightrfloor = 11$
$leftlfloordfrac{49}{5}rightrfloor = 9$
$leftlfloordfrac{7}{5}rightrfloor = 1$
as you see the equation doesn't hold.
Your intuition is right and the argument is wrong. The same argument should follow the following logic
$dfrac{x}{i} = k + dfrac{a}{i}$ where $k$ is highest possible positive integer without making term a negative
$dfrac{x^2}{i} = l + dfrac{a^2}{i}$
$leftlfloordfrac{x^2+x}{ i}rightrfloor = k + l + leftlfloordfrac{a+a^2}{i}rightrfloor$
$leftlfloordfrac{x^2}{i}rightrfloor = l + leftlfloordfrac{a^2}{i}rightrfloor$
$leftlfloordfrac{x}{i}rightrfloor = k + leftlfloordfrac{a}{i}rightrfloor$
as you see the floor terms are not necessarily equal. There could be cases when $a+a^2$
is higher than $i$ when both $a$ and $a^2$ are less than $i$.
Hope it helps
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
add a comment |
Consider x = 7 and i = 5.
you get
$leftlfloordfrac{49+7}{5}rightrfloor = 11$
$leftlfloordfrac{49}{5}rightrfloor = 9$
$leftlfloordfrac{7}{5}rightrfloor = 1$
as you see the equation doesn't hold.
Your intuition is right and the argument is wrong. The same argument should follow the following logic
$dfrac{x}{i} = k + dfrac{a}{i}$ where $k$ is highest possible positive integer without making term a negative
$dfrac{x^2}{i} = l + dfrac{a^2}{i}$
$leftlfloordfrac{x^2+x}{ i}rightrfloor = k + l + leftlfloordfrac{a+a^2}{i}rightrfloor$
$leftlfloordfrac{x^2}{i}rightrfloor = l + leftlfloordfrac{a^2}{i}rightrfloor$
$leftlfloordfrac{x}{i}rightrfloor = k + leftlfloordfrac{a}{i}rightrfloor$
as you see the floor terms are not necessarily equal. There could be cases when $a+a^2$
is higher than $i$ when both $a$ and $a^2$ are less than $i$.
Hope it helps
Consider x = 7 and i = 5.
you get
$leftlfloordfrac{49+7}{5}rightrfloor = 11$
$leftlfloordfrac{49}{5}rightrfloor = 9$
$leftlfloordfrac{7}{5}rightrfloor = 1$
as you see the equation doesn't hold.
Your intuition is right and the argument is wrong. The same argument should follow the following logic
$dfrac{x}{i} = k + dfrac{a}{i}$ where $k$ is highest possible positive integer without making term a negative
$dfrac{x^2}{i} = l + dfrac{a^2}{i}$
$leftlfloordfrac{x^2+x}{ i}rightrfloor = k + l + leftlfloordfrac{a+a^2}{i}rightrfloor$
$leftlfloordfrac{x^2}{i}rightrfloor = l + leftlfloordfrac{a^2}{i}rightrfloor$
$leftlfloordfrac{x}{i}rightrfloor = k + leftlfloordfrac{a}{i}rightrfloor$
as you see the floor terms are not necessarily equal. There could be cases when $a+a^2$
is higher than $i$ when both $a$ and $a^2$ are less than $i$.
Hope it helps
edited Nov 20 '18 at 17:37
Larry Freeman
3,23921239
3,23921239
answered Nov 20 '18 at 17:03


Ofya
5048
5048
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
add a comment |
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
1
1
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thanks for your answer. I hope it's ok that I converted your answer to latex. I think that it makes it more readable. Cheers.
– Larry Freeman
Nov 20 '18 at 17:25
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
Thank you very much, I wanted to make it more readable but didn't have much time and didn't want to leave the question unanswered.
– Ofya
Nov 20 '18 at 20:24
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006557%2fdoes-left-lfloor-dfracx2xi-right-rfloor-left-lfloor-dfracx2i-rig%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
2
$leftlfloor frac{4 + 2}{3} rightrfloor - leftlfloor frac{4}{3} rightrfloor neq leftlfloor frac{2}{3} rightrfloor$
– Connor Harris
Nov 20 '18 at 16:53
If $0 leq a < i$ then you can't conclude that $0 leq a^2 < i$.
– Connor Harris
Nov 20 '18 at 16:55
1
Nice. So the mistake is the subtraction by $a^2$. Thanks. I suspected it was wrong.
– Larry Freeman
Nov 20 '18 at 16:56
So, it is only true when $leftlfloordfrac{a^2+a}{i}rightrfloor = leftlfloordfrac{a^2}{i}rightrfloor$?
– Larry Freeman
Nov 20 '18 at 17:02