How to show that $lfloor n/1rfloor+lfloor n/2 rfloor+…+lfloor n/nrfloor+lfloor{sqrt{n}}rfloor$ is even?
$begingroup$
Let $n$ is a natural number. Prove that $$leftlfloorfrac{n}{1}rightrfloor+leftlfloorfrac{n}{2}rightrfloor+....+leftlfloorfrac{n}{n}rightrfloor+leftlfloor{sqrt{n}}rightrfloor$$
is even.
I used induction and the inequality $$x-1<lfloor{x}rfloorle{x}$$ to prove it.
Is there any other, nicer way to do it?
elementary-number-theory alternative-proof
$endgroup$
add a comment |
$begingroup$
Let $n$ is a natural number. Prove that $$leftlfloorfrac{n}{1}rightrfloor+leftlfloorfrac{n}{2}rightrfloor+....+leftlfloorfrac{n}{n}rightrfloor+leftlfloor{sqrt{n}}rightrfloor$$
is even.
I used induction and the inequality $$x-1<lfloor{x}rfloorle{x}$$ to prove it.
Is there any other, nicer way to do it?
elementary-number-theory alternative-proof
$endgroup$
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
1
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36
add a comment |
$begingroup$
Let $n$ is a natural number. Prove that $$leftlfloorfrac{n}{1}rightrfloor+leftlfloorfrac{n}{2}rightrfloor+....+leftlfloorfrac{n}{n}rightrfloor+leftlfloor{sqrt{n}}rightrfloor$$
is even.
I used induction and the inequality $$x-1<lfloor{x}rfloorle{x}$$ to prove it.
Is there any other, nicer way to do it?
elementary-number-theory alternative-proof
$endgroup$
Let $n$ is a natural number. Prove that $$leftlfloorfrac{n}{1}rightrfloor+leftlfloorfrac{n}{2}rightrfloor+....+leftlfloorfrac{n}{n}rightrfloor+leftlfloor{sqrt{n}}rightrfloor$$
is even.
I used induction and the inequality $$x-1<lfloor{x}rfloorle{x}$$ to prove it.
Is there any other, nicer way to do it?
elementary-number-theory alternative-proof
elementary-number-theory alternative-proof
edited Jun 19 '14 at 11:51


Martin Sleziak
44.9k10121274
44.9k10121274
asked Feb 2 '14 at 18:07


MathGodMathGod
4,31912549
4,31912549
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
1
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36
add a comment |
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
1
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
1
1
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Let
$$S = {,(a,b)inmathbb N^2mid able n,} $$
and $$ T={,(a,a)inmathbb N^2mid a^2le n,}.$$
Then
$$ |S|=sum_{bge 1}|{,ainmathbb Nmid aletfrac nb,}|=sum_{bge 1}lfloor tfrac nbrfloor =leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor$$
and $$ |T|=lfloor sqrt nrfloor.$$
The map $(a,b)mapsto (b,a)$ is a fixedpoint-free involution of $Ssetminus T$, hence
$|Ssetminus T|$ is even. Since
$$ leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor+lfloorsqrt nrfloor = |Ssetminus T|+2|T|$$
we are done.
$endgroup$
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%2f661010%2fhow-to-show-that-lfloor-n-1-rfloor-lfloor-n-2-rfloor-lfloor-n-n-rfloor%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
$begingroup$
Let
$$S = {,(a,b)inmathbb N^2mid able n,} $$
and $$ T={,(a,a)inmathbb N^2mid a^2le n,}.$$
Then
$$ |S|=sum_{bge 1}|{,ainmathbb Nmid aletfrac nb,}|=sum_{bge 1}lfloor tfrac nbrfloor =leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor$$
and $$ |T|=lfloor sqrt nrfloor.$$
The map $(a,b)mapsto (b,a)$ is a fixedpoint-free involution of $Ssetminus T$, hence
$|Ssetminus T|$ is even. Since
$$ leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor+lfloorsqrt nrfloor = |Ssetminus T|+2|T|$$
we are done.
$endgroup$
add a comment |
$begingroup$
Let
$$S = {,(a,b)inmathbb N^2mid able n,} $$
and $$ T={,(a,a)inmathbb N^2mid a^2le n,}.$$
Then
$$ |S|=sum_{bge 1}|{,ainmathbb Nmid aletfrac nb,}|=sum_{bge 1}lfloor tfrac nbrfloor =leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor$$
and $$ |T|=lfloor sqrt nrfloor.$$
The map $(a,b)mapsto (b,a)$ is a fixedpoint-free involution of $Ssetminus T$, hence
$|Ssetminus T|$ is even. Since
$$ leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor+lfloorsqrt nrfloor = |Ssetminus T|+2|T|$$
we are done.
$endgroup$
add a comment |
$begingroup$
Let
$$S = {,(a,b)inmathbb N^2mid able n,} $$
and $$ T={,(a,a)inmathbb N^2mid a^2le n,}.$$
Then
$$ |S|=sum_{bge 1}|{,ainmathbb Nmid aletfrac nb,}|=sum_{bge 1}lfloor tfrac nbrfloor =leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor$$
and $$ |T|=lfloor sqrt nrfloor.$$
The map $(a,b)mapsto (b,a)$ is a fixedpoint-free involution of $Ssetminus T$, hence
$|Ssetminus T|$ is even. Since
$$ leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor+lfloorsqrt nrfloor = |Ssetminus T|+2|T|$$
we are done.
$endgroup$
Let
$$S = {,(a,b)inmathbb N^2mid able n,} $$
and $$ T={,(a,a)inmathbb N^2mid a^2le n,}.$$
Then
$$ |S|=sum_{bge 1}|{,ainmathbb Nmid aletfrac nb,}|=sum_{bge 1}lfloor tfrac nbrfloor =leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor$$
and $$ |T|=lfloor sqrt nrfloor.$$
The map $(a,b)mapsto (b,a)$ is a fixedpoint-free involution of $Ssetminus T$, hence
$|Ssetminus T|$ is even. Since
$$ leftlfloor frac n1rightrfloor+leftlfloor frac n2rightrfloor+ldots +leftlfloor frac nnright rfloor+lfloorsqrt nrfloor = |Ssetminus T|+2|T|$$
we are done.
edited Jan 26 at 1:27
darij grinberg
11.2k33167
11.2k33167
answered Feb 2 '14 at 18:40


Hagen von EitzenHagen von Eitzen
283k23272507
283k23272507
add a comment |
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.
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%2f661010%2fhow-to-show-that-lfloor-n-1-rfloor-lfloor-n-2-rfloor-lfloor-n-n-rfloor%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
$begingroup$
Induction is a good way to go and the inequality you used is all we have about the floor function, so what could be a better way?
$endgroup$
– Hagen von Eitzen
Feb 2 '14 at 18:27
1
$begingroup$
A duplicate of this question was asked later. You might find my answer to that question useful.
$endgroup$
– David
Feb 18 '15 at 4:58
$begingroup$
@David +1. Truly remarkable answer by you in that post.
$endgroup$
– MathGod
Feb 18 '15 at 7:36