Composite functions of domain natural numbers dealing with perfect squares
$begingroup$
The domain of a function f is the set of natural numbers. The function is defined as follows:
$$f(n) =n+[sqrt{n}] $$
Where $[x] $=nearest integer smaller than or equal to x. For example, $[$pi$]$ =3.
Prove that for every natural number m the following sequence contains at
least one perfect square
$$m, f(m), f^2 (m), f^3 (m)........ $$
The notation $f^k$ denotes the function obtained by composing f with itself k times, e.g.,$f^2 = f ◦ f$.
My attempt:
I don't know what to say but I have just used numbers to put in the equation to verify. Other than this I am not able to think anything about it.
algebra-precalculus
$endgroup$
|
show 2 more comments
$begingroup$
The domain of a function f is the set of natural numbers. The function is defined as follows:
$$f(n) =n+[sqrt{n}] $$
Where $[x] $=nearest integer smaller than or equal to x. For example, $[$pi$]$ =3.
Prove that for every natural number m the following sequence contains at
least one perfect square
$$m, f(m), f^2 (m), f^3 (m)........ $$
The notation $f^k$ denotes the function obtained by composing f with itself k times, e.g.,$f^2 = f ◦ f$.
My attempt:
I don't know what to say but I have just used numbers to put in the equation to verify. Other than this I am not able to think anything about it.
algebra-precalculus
$endgroup$
$begingroup$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46
|
show 2 more comments
$begingroup$
The domain of a function f is the set of natural numbers. The function is defined as follows:
$$f(n) =n+[sqrt{n}] $$
Where $[x] $=nearest integer smaller than or equal to x. For example, $[$pi$]$ =3.
Prove that for every natural number m the following sequence contains at
least one perfect square
$$m, f(m), f^2 (m), f^3 (m)........ $$
The notation $f^k$ denotes the function obtained by composing f with itself k times, e.g.,$f^2 = f ◦ f$.
My attempt:
I don't know what to say but I have just used numbers to put in the equation to verify. Other than this I am not able to think anything about it.
algebra-precalculus
$endgroup$
The domain of a function f is the set of natural numbers. The function is defined as follows:
$$f(n) =n+[sqrt{n}] $$
Where $[x] $=nearest integer smaller than or equal to x. For example, $[$pi$]$ =3.
Prove that for every natural number m the following sequence contains at
least one perfect square
$$m, f(m), f^2 (m), f^3 (m)........ $$
The notation $f^k$ denotes the function obtained by composing f with itself k times, e.g.,$f^2 = f ◦ f$.
My attempt:
I don't know what to say but I have just used numbers to put in the equation to verify. Other than this I am not able to think anything about it.
algebra-precalculus
algebra-precalculus
edited Dec 7 '18 at 17:41
jayant98
asked Sep 8 '18 at 22:02
jayant98jayant98
513116
513116
$begingroup$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46
|
show 2 more comments
$begingroup$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46
$begingroup$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46
|
show 2 more comments
1 Answer
1
active
oldest
votes
$begingroup$
Let
$n = m^2+k$
where
$1 le k le 2m$.
Then
$begin{array}\
f(n)
&=n+[sqrt{n}]\
&=m^2+k+[sqrt{m^2+k}]\
&=m^2+k+m\
end{array}
$
If $1 le k le m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+k+m+m\
&=m^2+2m+k\
&=(m+1)^2+k-1\
end{array}
$
Therefore
$f(f(n))$
is one closer to a square than
$f(n)$.
In particular,
if $k=1$ then
$f(f(n))$ is a square.
If $m+1 le k le 2m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+2m+1+k-(m+1)+[sqrt{m^2+2m+1+k-(m+1)}]\
&=(m+1)^2+k-(m+1)+(m+1)\
&=(m+1)^2+k\
end{array}
$
and
$k-(m+1)
=(k-m)-1
lt k-m$
so the difference between $k$
and the square below it
decreases by $1$.
Repeating this $m$ times
brings it down where
$k le m$
(where "$m$" is the current
square, not the original one)
and the paragraph above applies.
In both cases,
eventually
$f^{(j)}(n)
=lfloor sqrt{f^{(j)}(n)} rfloor ^2
$.
$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%2f2910119%2fcomposite-functions-of-domain-natural-numbers-dealing-with-perfect-squares%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
$n = m^2+k$
where
$1 le k le 2m$.
Then
$begin{array}\
f(n)
&=n+[sqrt{n}]\
&=m^2+k+[sqrt{m^2+k}]\
&=m^2+k+m\
end{array}
$
If $1 le k le m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+k+m+m\
&=m^2+2m+k\
&=(m+1)^2+k-1\
end{array}
$
Therefore
$f(f(n))$
is one closer to a square than
$f(n)$.
In particular,
if $k=1$ then
$f(f(n))$ is a square.
If $m+1 le k le 2m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+2m+1+k-(m+1)+[sqrt{m^2+2m+1+k-(m+1)}]\
&=(m+1)^2+k-(m+1)+(m+1)\
&=(m+1)^2+k\
end{array}
$
and
$k-(m+1)
=(k-m)-1
lt k-m$
so the difference between $k$
and the square below it
decreases by $1$.
Repeating this $m$ times
brings it down where
$k le m$
(where "$m$" is the current
square, not the original one)
and the paragraph above applies.
In both cases,
eventually
$f^{(j)}(n)
=lfloor sqrt{f^{(j)}(n)} rfloor ^2
$.
$endgroup$
add a comment |
$begingroup$
Let
$n = m^2+k$
where
$1 le k le 2m$.
Then
$begin{array}\
f(n)
&=n+[sqrt{n}]\
&=m^2+k+[sqrt{m^2+k}]\
&=m^2+k+m\
end{array}
$
If $1 le k le m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+k+m+m\
&=m^2+2m+k\
&=(m+1)^2+k-1\
end{array}
$
Therefore
$f(f(n))$
is one closer to a square than
$f(n)$.
In particular,
if $k=1$ then
$f(f(n))$ is a square.
If $m+1 le k le 2m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+2m+1+k-(m+1)+[sqrt{m^2+2m+1+k-(m+1)}]\
&=(m+1)^2+k-(m+1)+(m+1)\
&=(m+1)^2+k\
end{array}
$
and
$k-(m+1)
=(k-m)-1
lt k-m$
so the difference between $k$
and the square below it
decreases by $1$.
Repeating this $m$ times
brings it down where
$k le m$
(where "$m$" is the current
square, not the original one)
and the paragraph above applies.
In both cases,
eventually
$f^{(j)}(n)
=lfloor sqrt{f^{(j)}(n)} rfloor ^2
$.
$endgroup$
add a comment |
$begingroup$
Let
$n = m^2+k$
where
$1 le k le 2m$.
Then
$begin{array}\
f(n)
&=n+[sqrt{n}]\
&=m^2+k+[sqrt{m^2+k}]\
&=m^2+k+m\
end{array}
$
If $1 le k le m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+k+m+m\
&=m^2+2m+k\
&=(m+1)^2+k-1\
end{array}
$
Therefore
$f(f(n))$
is one closer to a square than
$f(n)$.
In particular,
if $k=1$ then
$f(f(n))$ is a square.
If $m+1 le k le 2m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+2m+1+k-(m+1)+[sqrt{m^2+2m+1+k-(m+1)}]\
&=(m+1)^2+k-(m+1)+(m+1)\
&=(m+1)^2+k\
end{array}
$
and
$k-(m+1)
=(k-m)-1
lt k-m$
so the difference between $k$
and the square below it
decreases by $1$.
Repeating this $m$ times
brings it down where
$k le m$
(where "$m$" is the current
square, not the original one)
and the paragraph above applies.
In both cases,
eventually
$f^{(j)}(n)
=lfloor sqrt{f^{(j)}(n)} rfloor ^2
$.
$endgroup$
Let
$n = m^2+k$
where
$1 le k le 2m$.
Then
$begin{array}\
f(n)
&=n+[sqrt{n}]\
&=m^2+k+[sqrt{m^2+k}]\
&=m^2+k+m\
end{array}
$
If $1 le k le m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+k+m+m\
&=m^2+2m+k\
&=(m+1)^2+k-1\
end{array}
$
Therefore
$f(f(n))$
is one closer to a square than
$f(n)$.
In particular,
if $k=1$ then
$f(f(n))$ is a square.
If $m+1 le k le 2m$ then
$begin{array}\
f^{(2)}(n)=f(f(n))
&=m^2+k+m+[sqrt{m^2+k+m}]\
&=m^2+2m+1+k-(m+1)+[sqrt{m^2+2m+1+k-(m+1)}]\
&=(m+1)^2+k-(m+1)+(m+1)\
&=(m+1)^2+k\
end{array}
$
and
$k-(m+1)
=(k-m)-1
lt k-m$
so the difference between $k$
and the square below it
decreases by $1$.
Repeating this $m$ times
brings it down where
$k le m$
(where "$m$" is the current
square, not the original one)
and the paragraph above applies.
In both cases,
eventually
$f^{(j)}(n)
=lfloor sqrt{f^{(j)}(n)} rfloor ^2
$.
answered Dec 7 '18 at 18:13
marty cohenmarty cohen
73.2k549128
73.2k549128
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%2f2910119%2fcomposite-functions-of-domain-natural-numbers-dealing-with-perfect-squares%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$
consider what happens when n = 101. Then consider what happens when n = 102, n=103, ..., n=110. Then formulate a hypothesis (i.e. preliminary lemma) and prove it. Then use the lemma to prove the initial assertion.
$endgroup$
– user2661923
Sep 8 '18 at 22:38
$begingroup$
Could you be more specific as to which numbers you used "to put in the equation to verify" and how you did that? Did you use a computer program? Which range of numbers did you test (a computer could test a very large range)?
$endgroup$
– Rory Daulton
Sep 9 '18 at 0:11
$begingroup$
No did not use computer program. Just randomly put 1,2,3 or 10..
$endgroup$
– jayant98
Sep 9 '18 at 4:27
$begingroup$
@user2661923 I don't know about lemma. Can you provide me any other information on this lemma?
$endgroup$
– jayant98
Sep 9 '18 at 4:30
$begingroup$
@user2661923 can you provide any information about lemmas?
$endgroup$
– jayant98
Sep 9 '18 at 19:46