finding perfect squares solutions for the following case The Next CEO of Stack OverflowSubjects studied in number theoryCompute all the sets of 87248 into 10 partsIf $x^2+ax+b$ is an integer for every integer $x$ then comment on the coefficients $a$ and $b$ MCQNP-hardness of solving congruence equations in several variablesPairwise sums are perfect squares .When will the sequence $k mapsto A + Bk + k^2$ yield a perfect square?What are the integers of $textbf Q(sqrt 2 + i)$?Examples of $r^sqrt2$ as an irrational number, for real numbers $0<r<1$Calculating a square rootHow many perfect powers are there amoung the first 1000 positive integers
What was the first Unix version to run on a microcomputer?
How do I go from 300 unfinished/half written blog posts, to published posts?
Why does the UK parliament need a vote on the political declaration?
How do scammers retract money, while you can’t?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
Anatomically Correct Strange Women In Ponds Distributing Swords
In excess I'm lethal
Why do we use the plural of movies in this phrase "We went to the movies last night."?
WOW air has ceased operation, can I get my tickets refunded?
What flight has the highest ratio of time difference to flight time?
Skipping indices in a product
Is it possible to search for a directory/file combination?
Why has the US not been more assertive in confronting Russia in recent years?
How to Reset Passwords on Multiple Websites Easily?
Novel about a guy who is possessed by the divine essence and the world ends?
What exact does MIB represent in SNMP? How is it different from OID?
multiple labels for a single equation
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Indicator light circuit
If a black hole is created from light, can this black hole then move at speed of light?
Can you replace a racial trait cantrip when leveling up?
Why do professional authors make "consistency" mistakes? And how to avoid them?
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Is it ever safe to open a suspicious html file (e.g. email attachment)?
finding perfect squares solutions for the following case
The Next CEO of Stack OverflowSubjects studied in number theoryCompute all the sets of 87248 into 10 partsIf $x^2+ax+b$ is an integer for every integer $x$ then comment on the coefficients $a$ and $b$ MCQNP-hardness of solving congruence equations in several variablesPairwise sums are perfect squares .When will the sequence $k mapsto A + Bk + k^2$ yield a perfect square?What are the integers of $textbf Q(sqrt 2 + i)$?Examples of $r^sqrt2$ as an irrational number, for real numbers $0<r<1$Calculating a square rootHow many perfect powers are there amoung the first 1000 positive integers
$begingroup$
I was working on a number theory problem and create a equation. I tried research on this, but tbh I don't even know what should I google for... Here's my cases.
$$n = sqrtN * frac1+sqrt4k^2+12$$
$$m = sqrtN * fracsqrt4k^2+1-12$$
Where N is a given integer, m, n are both unknown integers, k has a given range of [0, 10] and k is a real number.
My question is, What is the fastest way to find such k that create integers m and n?
Thanks in advance!
number-theory numerical-methods square-numbers
$endgroup$
|
show 6 more comments
$begingroup$
I was working on a number theory problem and create a equation. I tried research on this, but tbh I don't even know what should I google for... Here's my cases.
$$n = sqrtN * frac1+sqrt4k^2+12$$
$$m = sqrtN * fracsqrt4k^2+1-12$$
Where N is a given integer, m, n are both unknown integers, k has a given range of [0, 10] and k is a real number.
My question is, What is the fastest way to find such k that create integers m and n?
Thanks in advance!
number-theory numerical-methods square-numbers
$endgroup$
$begingroup$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48
|
show 6 more comments
$begingroup$
I was working on a number theory problem and create a equation. I tried research on this, but tbh I don't even know what should I google for... Here's my cases.
$$n = sqrtN * frac1+sqrt4k^2+12$$
$$m = sqrtN * fracsqrt4k^2+1-12$$
Where N is a given integer, m, n are both unknown integers, k has a given range of [0, 10] and k is a real number.
My question is, What is the fastest way to find such k that create integers m and n?
Thanks in advance!
number-theory numerical-methods square-numbers
$endgroup$
I was working on a number theory problem and create a equation. I tried research on this, but tbh I don't even know what should I google for... Here's my cases.
$$n = sqrtN * frac1+sqrt4k^2+12$$
$$m = sqrtN * fracsqrt4k^2+1-12$$
Where N is a given integer, m, n are both unknown integers, k has a given range of [0, 10] and k is a real number.
My question is, What is the fastest way to find such k that create integers m and n?
Thanks in advance!
number-theory numerical-methods square-numbers
number-theory numerical-methods square-numbers
edited Mar 18 at 20:26
PetaGlz
asked Mar 18 at 19:38
PetaGlzPetaGlz
53
53
$begingroup$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48
|
show 6 more comments
$begingroup$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48
$begingroup$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48
|
show 6 more comments
1 Answer
1
active
oldest
votes
$begingroup$
Given the range in $k$, you have $$1+frac sqrt33718 le frac 1+sqrt1+4k^22le 1+frac 5sqrt132$$
The left side is a little more than $2$ and the right a little more than $10$. The range of $n$ that is available is from $leftlceilsqrtleft(1+frac sqrt33718right)Nrightrceil$ to $leftlfloorsqrtleft(1+frac 5sqrt132right)Nrightrfloor$ inclusive. Choose your $n$ and solve the equation for $k$.
For your new problem with $m,n$, note that the radicands differ by $N$, so we can write $n^2-m^2=N=(n+m)(n-m)$. The two factors $n+m$ and $n-m$ have the same parity, so if $N$ is divisible by $2$ and not $4$ there is no solution. Otherwise, each way of factoring $N$ into two factors of the same parity give a solution to $n=sqrt aN+frac N2, m=sqrtaN-frac N2$. For each factorization, you can see if $a$ is in the range at the top of my post. If it is, $k$ will be in range, otherwise not.
$endgroup$
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
|
show 2 more comments
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%2f3153214%2ffinding-perfect-squares-solutions-for-the-following-case%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$
Given the range in $k$, you have $$1+frac sqrt33718 le frac 1+sqrt1+4k^22le 1+frac 5sqrt132$$
The left side is a little more than $2$ and the right a little more than $10$. The range of $n$ that is available is from $leftlceilsqrtleft(1+frac sqrt33718right)Nrightrceil$ to $leftlfloorsqrtleft(1+frac 5sqrt132right)Nrightrfloor$ inclusive. Choose your $n$ and solve the equation for $k$.
For your new problem with $m,n$, note that the radicands differ by $N$, so we can write $n^2-m^2=N=(n+m)(n-m)$. The two factors $n+m$ and $n-m$ have the same parity, so if $N$ is divisible by $2$ and not $4$ there is no solution. Otherwise, each way of factoring $N$ into two factors of the same parity give a solution to $n=sqrt aN+frac N2, m=sqrtaN-frac N2$. For each factorization, you can see if $a$ is in the range at the top of my post. If it is, $k$ will be in range, otherwise not.
$endgroup$
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
|
show 2 more comments
$begingroup$
Given the range in $k$, you have $$1+frac sqrt33718 le frac 1+sqrt1+4k^22le 1+frac 5sqrt132$$
The left side is a little more than $2$ and the right a little more than $10$. The range of $n$ that is available is from $leftlceilsqrtleft(1+frac sqrt33718right)Nrightrceil$ to $leftlfloorsqrtleft(1+frac 5sqrt132right)Nrightrfloor$ inclusive. Choose your $n$ and solve the equation for $k$.
For your new problem with $m,n$, note that the radicands differ by $N$, so we can write $n^2-m^2=N=(n+m)(n-m)$. The two factors $n+m$ and $n-m$ have the same parity, so if $N$ is divisible by $2$ and not $4$ there is no solution. Otherwise, each way of factoring $N$ into two factors of the same parity give a solution to $n=sqrt aN+frac N2, m=sqrtaN-frac N2$. For each factorization, you can see if $a$ is in the range at the top of my post. If it is, $k$ will be in range, otherwise not.
$endgroup$
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
|
show 2 more comments
$begingroup$
Given the range in $k$, you have $$1+frac sqrt33718 le frac 1+sqrt1+4k^22le 1+frac 5sqrt132$$
The left side is a little more than $2$ and the right a little more than $10$. The range of $n$ that is available is from $leftlceilsqrtleft(1+frac sqrt33718right)Nrightrceil$ to $leftlfloorsqrtleft(1+frac 5sqrt132right)Nrightrfloor$ inclusive. Choose your $n$ and solve the equation for $k$.
For your new problem with $m,n$, note that the radicands differ by $N$, so we can write $n^2-m^2=N=(n+m)(n-m)$. The two factors $n+m$ and $n-m$ have the same parity, so if $N$ is divisible by $2$ and not $4$ there is no solution. Otherwise, each way of factoring $N$ into two factors of the same parity give a solution to $n=sqrt aN+frac N2, m=sqrtaN-frac N2$. For each factorization, you can see if $a$ is in the range at the top of my post. If it is, $k$ will be in range, otherwise not.
$endgroup$
Given the range in $k$, you have $$1+frac sqrt33718 le frac 1+sqrt1+4k^22le 1+frac 5sqrt132$$
The left side is a little more than $2$ and the right a little more than $10$. The range of $n$ that is available is from $leftlceilsqrtleft(1+frac sqrt33718right)Nrightrceil$ to $leftlfloorsqrtleft(1+frac 5sqrt132right)Nrightrfloor$ inclusive. Choose your $n$ and solve the equation for $k$.
For your new problem with $m,n$, note that the radicands differ by $N$, so we can write $n^2-m^2=N=(n+m)(n-m)$. The two factors $n+m$ and $n-m$ have the same parity, so if $N$ is divisible by $2$ and not $4$ there is no solution. Otherwise, each way of factoring $N$ into two factors of the same parity give a solution to $n=sqrt aN+frac N2, m=sqrtaN-frac N2$. For each factorization, you can see if $a$ is in the range at the top of my post. If it is, $k$ will be in range, otherwise not.
edited Mar 18 at 20:43
answered Mar 18 at 20:09
Ross MillikanRoss Millikan
300k24200375
300k24200375
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
|
show 2 more comments
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
Thanks for your quick answer!
$endgroup$
– PetaGlz
Mar 18 at 20:28
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
I just updated my problem since I realized that I wasn't described my problem well enough, sorry about that, could you check the update please?
$endgroup$
– PetaGlz
Mar 18 at 20:29
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
Hey Ross! Thanks for the update!! the last formula involvong a is great, but I'm kinda wondering how did u get that. could you please explain that to me as well?
$endgroup$
– PetaGlz
Mar 18 at 20:53
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
It is just the standard factoring of the difference of squares. You can multiply it out to see it works. For example, if $N=24=2^33$ we can have $n+m=12,n-m=2,n=7,m=5, n^2-m^2=49-25=24$ or $n+m=5,n-m=4,n=5,m=1,n^2-m^2=5^2-1^2=24$
$endgroup$
– Ross Millikan
Mar 18 at 20:57
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
$begingroup$
If you are doing number theory this factorization should be the first thing you think of when you see the difference of squares. It comes up all the time.
$endgroup$
– Ross Millikan
Mar 18 at 20:59
|
show 2 more comments
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%2f3153214%2ffinding-perfect-squares-solutions-for-the-following-case%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$
Why would you expect the answer(s) to be unique? With $N=1$, for instance, then $k=2sqrt 3$ works as does $k=6sqrt 2$
$endgroup$
– lulu
Mar 18 at 19:42
$begingroup$
@lulu Ohh it doesn't have to be unique, should I change the 'n is an unknown integer' into 'unknown integers?
$endgroup$
– PetaGlz
Mar 18 at 19:46
$begingroup$
Your header refers to "unique" solutions, but maybe you meant something else?
$endgroup$
– lulu
Mar 18 at 19:47
$begingroup$
@lulu just changed that, thanks for that.
$endgroup$
– PetaGlz
Mar 18 at 19:48
$begingroup$
In any case: for a fixed $N$, I'd compute the expression with $k=frac 89$, and compute it for $k=9$. Then, for each integer between the two values you get you can easily find a solution $k$ that gives you that integer.
$endgroup$
– lulu
Mar 18 at 19:48