Differences between numbers of the form abcdef and acdef which are perfect square.
$541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?
number-theory
add a comment |
$541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?
number-theory
add a comment |
$541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?
number-theory
$541456-51456=700^2$ is the example I found. Are there other examples of numbers of the form abcdef such that abcdef-acdef is a perfect square?
number-theory
number-theory
asked Nov 12 '18 at 10:43
user613967
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$
So, all we need is $9a+b$ to be perfect square
add a comment |
Of course,
$$
begin{aligned}
overline{abcdef} - overline{acdef}
&=
overline{ab0000} - overline{a0000}
\
&=10000cdot(overline{ab} - overline{a})
\
&=100^2cdot(9a+b) .
end{aligned}
$$
So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:
for a in [1..9]:
for b in [0..9]:
ab_a = 9*a + b
if ab_a.is_square():
print ( "a=%s b=%s %s-%s = %s^2"
% (a, b, 10*a+b, a, sqrt(ab_a)) )
And the results are:
a=1 b=0 10-1 = 3^2
a=1 b=7 17-1 = 4^2
a=2 b=7 27-2 = 5^2
a=3 b=9 39-3 = 6^2
a=4 b=0 40-4 = 6^2
a=5 b=4 54-5 = 7^2
a=7 b=1 71-7 = 8^2
a=8 b=9 89-8 = 9^2
a=9 b=0 90-9 = 9^2
Here i was using sage.
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%2f2995156%2fdifferences-between-numbers-of-the-form-abcdef-and-acdef-which-are-perfect-squar%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
$$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$
So, all we need is $9a+b$ to be perfect square
add a comment |
$$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$
So, all we need is $9a+b$ to be perfect square
add a comment |
$$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$
So, all we need is $9a+b$ to be perfect square
$$abcdef-acdef=10^4b+10^5a-(10^4a)=10^4(9a+b)$$
So, all we need is $9a+b$ to be perfect square
answered Nov 12 '18 at 10:46
lab bhattacharjee
223k15156274
223k15156274
add a comment |
add a comment |
Of course,
$$
begin{aligned}
overline{abcdef} - overline{acdef}
&=
overline{ab0000} - overline{a0000}
\
&=10000cdot(overline{ab} - overline{a})
\
&=100^2cdot(9a+b) .
end{aligned}
$$
So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:
for a in [1..9]:
for b in [0..9]:
ab_a = 9*a + b
if ab_a.is_square():
print ( "a=%s b=%s %s-%s = %s^2"
% (a, b, 10*a+b, a, sqrt(ab_a)) )
And the results are:
a=1 b=0 10-1 = 3^2
a=1 b=7 17-1 = 4^2
a=2 b=7 27-2 = 5^2
a=3 b=9 39-3 = 6^2
a=4 b=0 40-4 = 6^2
a=5 b=4 54-5 = 7^2
a=7 b=1 71-7 = 8^2
a=8 b=9 89-8 = 9^2
a=9 b=0 90-9 = 9^2
Here i was using sage.
add a comment |
Of course,
$$
begin{aligned}
overline{abcdef} - overline{acdef}
&=
overline{ab0000} - overline{a0000}
\
&=10000cdot(overline{ab} - overline{a})
\
&=100^2cdot(9a+b) .
end{aligned}
$$
So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:
for a in [1..9]:
for b in [0..9]:
ab_a = 9*a + b
if ab_a.is_square():
print ( "a=%s b=%s %s-%s = %s^2"
% (a, b, 10*a+b, a, sqrt(ab_a)) )
And the results are:
a=1 b=0 10-1 = 3^2
a=1 b=7 17-1 = 4^2
a=2 b=7 27-2 = 5^2
a=3 b=9 39-3 = 6^2
a=4 b=0 40-4 = 6^2
a=5 b=4 54-5 = 7^2
a=7 b=1 71-7 = 8^2
a=8 b=9 89-8 = 9^2
a=9 b=0 90-9 = 9^2
Here i was using sage.
add a comment |
Of course,
$$
begin{aligned}
overline{abcdef} - overline{acdef}
&=
overline{ab0000} - overline{a0000}
\
&=10000cdot(overline{ab} - overline{a})
\
&=100^2cdot(9a+b) .
end{aligned}
$$
So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:
for a in [1..9]:
for b in [0..9]:
ab_a = 9*a + b
if ab_a.is_square():
print ( "a=%s b=%s %s-%s = %s^2"
% (a, b, 10*a+b, a, sqrt(ab_a)) )
And the results are:
a=1 b=0 10-1 = 3^2
a=1 b=7 17-1 = 4^2
a=2 b=7 27-2 = 5^2
a=3 b=9 39-3 = 6^2
a=4 b=0 40-4 = 6^2
a=5 b=4 54-5 = 7^2
a=7 b=1 71-7 = 8^2
a=8 b=9 89-8 = 9^2
a=9 b=0 90-9 = 9^2
Here i was using sage.
Of course,
$$
begin{aligned}
overline{abcdef} - overline{acdef}
&=
overline{ab0000} - overline{a0000}
\
&=10000cdot(overline{ab} - overline{a})
\
&=100^2cdot(9a+b) .
end{aligned}
$$
So we can choose $c,d,e,f$ arbitrarily, and for $a,b$ there are the following chances:
for a in [1..9]:
for b in [0..9]:
ab_a = 9*a + b
if ab_a.is_square():
print ( "a=%s b=%s %s-%s = %s^2"
% (a, b, 10*a+b, a, sqrt(ab_a)) )
And the results are:
a=1 b=0 10-1 = 3^2
a=1 b=7 17-1 = 4^2
a=2 b=7 27-2 = 5^2
a=3 b=9 39-3 = 6^2
a=4 b=0 40-4 = 6^2
a=5 b=4 54-5 = 7^2
a=7 b=1 71-7 = 8^2
a=8 b=9 89-8 = 9^2
a=9 b=0 90-9 = 9^2
Here i was using sage.
answered Nov 12 '18 at 10:56
dan_fulea
6,2301312
6,2301312
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f2995156%2fdifferences-between-numbers-of-the-form-abcdef-and-acdef-which-are-perfect-squar%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