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










0












$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!










share|cite|improve this question











$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















0












$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!










share|cite|improve this question











$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













0












0








0





$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!










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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
















  • $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










1 Answer
1






active

oldest

votes


















1












$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.






share|cite|improve this answer











$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











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
);



);













draft saved

draft discarded


















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









1












$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.






share|cite|improve this answer











$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















1












$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.






share|cite|improve this answer











$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













1












1








1





$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.






share|cite|improve this answer











$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.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








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
















  • $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

















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%2f3153214%2ffinding-perfect-squares-solutions-for-the-following-case%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

Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

Who is our nearest planetary neighbor, on average?Santa Claus flies to the South PoleSeven Spheres of Unequal Mass, a weighing problem with a twistDescribe a large integerFast Mental Calculation of $7.5^7$Math in Space (without the help of celebrities)Find the value of $bigstar$: Puzzle 8 - InequalityWho drinks beer while running anyway?A Crucial DeliveryRanking And AverageHow long will my money last at roulette?

Daza language Contents Vocabulary Phonology References External links Navigation menudaza1242Daza"Dazaga"eeee178086576