How to calculate the lowest common term in two offset sequences? The 2019 Stack Overflow Developer Survey Results Are InAre there unique solutions for $n=sum_j=1^g(k) a_j^k$?Sequences not strictly increasing.A term of the sequenceUnderstanding two “triangular” sequencesIf we know that a positive integer x can be represented as sum of squares of two numbers, what can we say about neighbours of x?If each $A_n$ is a set of sequences of natural numbers, how is $A=prod A_n$ to be viewed?How to calculate the nth term of sequence that increases by n?Way of finding remaining numbers of a list uniquelyAsymptotic Density vs a Partition of Natural NumbersHow to find explicit solution for recursive sequences with nonlinear terms?
Match Roman Numerals
Why doesn't UInt have a toDouble()?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
What is this sharp, curved notch on my knife for?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
A word that means fill it to the required quantity
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Keeping a retro style to sci-fi spaceships?
How can I have a shield and a way of attacking with a ranged weapon at the same time?
"as much details as you can remember"
How to notate time signature switching consistently every measure
How to display lines in a file like ls displays files in a directory?
Likelihood that a superbug or lethal virus could come from a landfill
Straighten subgroup lattice
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
Can there be female White Walkers?
Time travel alters history but people keep saying nothing's changed
Deal with toxic manager when you can't quit
Pokemon Turn Based battle (Python)
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
What is the meaning of Triage in Cybersec world?
Why does the nucleus not repel itself?
How to calculate the lowest common term in two offset sequences?
The 2019 Stack Overflow Developer Survey Results Are InAre there unique solutions for $n=sum_j=1^g(k) a_j^k$?Sequences not strictly increasing.A term of the sequenceUnderstanding two “triangular” sequencesIf we know that a positive integer x can be represented as sum of squares of two numbers, what can we say about neighbours of x?If each $A_n$ is a set of sequences of natural numbers, how is $A=prod A_n$ to be viewed?How to calculate the nth term of sequence that increases by n?Way of finding remaining numbers of a list uniquelyAsymptotic Density vs a Partition of Natural NumbersHow to find explicit solution for recursive sequences with nonlinear terms?
$begingroup$
Let $a$ be a sequence of the squares for all natural numbers.
So: $a = 0^2, 1^2, 2^2, 3^2, 4^2,5^2,... = 0, 1, 4, 9,16,25,...$
Is there a way to find out when the equation below will be true without checking each of the terms?
$x + a_i = a_j$
where $x,i,j in mathbbN $
For example:
Let $x = 23$, then:
$23 + 121 = 144$
so $i=11$ and $j=12$
Edit: To clarify I would like to calculate $i$ and $j$ from $x$.
sequences-and-series number-theory
$endgroup$
add a comment |
$begingroup$
Let $a$ be a sequence of the squares for all natural numbers.
So: $a = 0^2, 1^2, 2^2, 3^2, 4^2,5^2,... = 0, 1, 4, 9,16,25,...$
Is there a way to find out when the equation below will be true without checking each of the terms?
$x + a_i = a_j$
where $x,i,j in mathbbN $
For example:
Let $x = 23$, then:
$23 + 121 = 144$
so $i=11$ and $j=12$
Edit: To clarify I would like to calculate $i$ and $j$ from $x$.
sequences-and-series number-theory
$endgroup$
1
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
1
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12
add a comment |
$begingroup$
Let $a$ be a sequence of the squares for all natural numbers.
So: $a = 0^2, 1^2, 2^2, 3^2, 4^2,5^2,... = 0, 1, 4, 9,16,25,...$
Is there a way to find out when the equation below will be true without checking each of the terms?
$x + a_i = a_j$
where $x,i,j in mathbbN $
For example:
Let $x = 23$, then:
$23 + 121 = 144$
so $i=11$ and $j=12$
Edit: To clarify I would like to calculate $i$ and $j$ from $x$.
sequences-and-series number-theory
$endgroup$
Let $a$ be a sequence of the squares for all natural numbers.
So: $a = 0^2, 1^2, 2^2, 3^2, 4^2,5^2,... = 0, 1, 4, 9,16,25,...$
Is there a way to find out when the equation below will be true without checking each of the terms?
$x + a_i = a_j$
where $x,i,j in mathbbN $
For example:
Let $x = 23$, then:
$23 + 121 = 144$
so $i=11$ and $j=12$
Edit: To clarify I would like to calculate $i$ and $j$ from $x$.
sequences-and-series number-theory
sequences-and-series number-theory
edited Apr 2 at 17:05
Mateusz Michalak-Palarz
asked Mar 30 at 22:55
Mateusz Michalak-PalarzMateusz Michalak-Palarz
11
11
1
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
1
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12
add a comment |
1
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
1
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12
1
1
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
1
1
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
For any $x$, consider all the factorisations of $x$ as $y times z$ where $y$ and $z$ have the same parity, i.e. both even or both odd, and $y ge z$; this will be possible if and only if $x$ is not $2$ more than a multiple of $4$
Then since $left(fracy+z2right)^2 - left(fracy-z2right)^2 = yz$ we have $x + left(fracy-z2right)^2 = left(fracy+z2right)^2$
In your example, with $x=23$ we only have $23times 1$ giving $23 + left(frac23-12right)^2 = left(frac23+12right)^2$
For another example, if $x=45$ then we have $45 times 1 = 15 times 3 = 9 times 5$ so we get:
- $45 + 22^2 = 23^2$
- $45 + 6^2 = 9^2$
- $45 + 2^2 = 7^2$
You want $i=left(fracy-z2right)^2$ and $j=left(fracy+z2right)^2$
$endgroup$
add a comment |
$begingroup$
You can look for a pattern, in fact, letting $i=n, j=n+1$ and $x=2n+1$ yields:
$$a_n+2n+1=a_n+1$$
This can easily be confirmed by letting $a_n=n^2$, indeed $n^2+2n+1=(n^2+1)^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%2f3168860%2fhow-to-calculate-the-lowest-common-term-in-two-offset-sequences%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
For any $x$, consider all the factorisations of $x$ as $y times z$ where $y$ and $z$ have the same parity, i.e. both even or both odd, and $y ge z$; this will be possible if and only if $x$ is not $2$ more than a multiple of $4$
Then since $left(fracy+z2right)^2 - left(fracy-z2right)^2 = yz$ we have $x + left(fracy-z2right)^2 = left(fracy+z2right)^2$
In your example, with $x=23$ we only have $23times 1$ giving $23 + left(frac23-12right)^2 = left(frac23+12right)^2$
For another example, if $x=45$ then we have $45 times 1 = 15 times 3 = 9 times 5$ so we get:
- $45 + 22^2 = 23^2$
- $45 + 6^2 = 9^2$
- $45 + 2^2 = 7^2$
You want $i=left(fracy-z2right)^2$ and $j=left(fracy+z2right)^2$
$endgroup$
add a comment |
$begingroup$
For any $x$, consider all the factorisations of $x$ as $y times z$ where $y$ and $z$ have the same parity, i.e. both even or both odd, and $y ge z$; this will be possible if and only if $x$ is not $2$ more than a multiple of $4$
Then since $left(fracy+z2right)^2 - left(fracy-z2right)^2 = yz$ we have $x + left(fracy-z2right)^2 = left(fracy+z2right)^2$
In your example, with $x=23$ we only have $23times 1$ giving $23 + left(frac23-12right)^2 = left(frac23+12right)^2$
For another example, if $x=45$ then we have $45 times 1 = 15 times 3 = 9 times 5$ so we get:
- $45 + 22^2 = 23^2$
- $45 + 6^2 = 9^2$
- $45 + 2^2 = 7^2$
You want $i=left(fracy-z2right)^2$ and $j=left(fracy+z2right)^2$
$endgroup$
add a comment |
$begingroup$
For any $x$, consider all the factorisations of $x$ as $y times z$ where $y$ and $z$ have the same parity, i.e. both even or both odd, and $y ge z$; this will be possible if and only if $x$ is not $2$ more than a multiple of $4$
Then since $left(fracy+z2right)^2 - left(fracy-z2right)^2 = yz$ we have $x + left(fracy-z2right)^2 = left(fracy+z2right)^2$
In your example, with $x=23$ we only have $23times 1$ giving $23 + left(frac23-12right)^2 = left(frac23+12right)^2$
For another example, if $x=45$ then we have $45 times 1 = 15 times 3 = 9 times 5$ so we get:
- $45 + 22^2 = 23^2$
- $45 + 6^2 = 9^2$
- $45 + 2^2 = 7^2$
You want $i=left(fracy-z2right)^2$ and $j=left(fracy+z2right)^2$
$endgroup$
For any $x$, consider all the factorisations of $x$ as $y times z$ where $y$ and $z$ have the same parity, i.e. both even or both odd, and $y ge z$; this will be possible if and only if $x$ is not $2$ more than a multiple of $4$
Then since $left(fracy+z2right)^2 - left(fracy-z2right)^2 = yz$ we have $x + left(fracy-z2right)^2 = left(fracy+z2right)^2$
In your example, with $x=23$ we only have $23times 1$ giving $23 + left(frac23-12right)^2 = left(frac23+12right)^2$
For another example, if $x=45$ then we have $45 times 1 = 15 times 3 = 9 times 5$ so we get:
- $45 + 22^2 = 23^2$
- $45 + 6^2 = 9^2$
- $45 + 2^2 = 7^2$
You want $i=left(fracy-z2right)^2$ and $j=left(fracy+z2right)^2$
edited Mar 30 at 23:26
answered Mar 30 at 23:21
HenryHenry
101k482170
101k482170
add a comment |
add a comment |
$begingroup$
You can look for a pattern, in fact, letting $i=n, j=n+1$ and $x=2n+1$ yields:
$$a_n+2n+1=a_n+1$$
This can easily be confirmed by letting $a_n=n^2$, indeed $n^2+2n+1=(n^2+1)^2$.
$endgroup$
add a comment |
$begingroup$
You can look for a pattern, in fact, letting $i=n, j=n+1$ and $x=2n+1$ yields:
$$a_n+2n+1=a_n+1$$
This can easily be confirmed by letting $a_n=n^2$, indeed $n^2+2n+1=(n^2+1)^2$.
$endgroup$
add a comment |
$begingroup$
You can look for a pattern, in fact, letting $i=n, j=n+1$ and $x=2n+1$ yields:
$$a_n+2n+1=a_n+1$$
This can easily be confirmed by letting $a_n=n^2$, indeed $n^2+2n+1=(n^2+1)^2$.
$endgroup$
You can look for a pattern, in fact, letting $i=n, j=n+1$ and $x=2n+1$ yields:
$$a_n+2n+1=a_n+1$$
This can easily be confirmed by letting $a_n=n^2$, indeed $n^2+2n+1=(n^2+1)^2$.
answered Mar 30 at 23:24
Arsene1412Arsene1412
114
114
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%2f3168860%2fhow-to-calculate-the-lowest-common-term-in-two-offset-sequences%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
1
$begingroup$
Odd numbers can be made easily by $(n+1)^2-n^2=2n+1$
$endgroup$
– Sil
Mar 30 at 23:02
1
$begingroup$
$x$ can be any natural number which is not $2$ more than a multiple of $4$
$endgroup$
– Henry
Mar 30 at 23:12