Palindrome vs Level of Palindrome
$begingroup$
The palindrome, example: $131$, $82728$, $55655$.
But from the palindrome maker algorithm
say:
If $17$ isn't palindrome you must additive by reverse of them
$33$ is say $P(1)$ palindrome
$38$ is say $P(2)$ semipalindrome of level $1$
Because:
$38+83=121$
$182$ is say $P(5)$ semipalindrome of level $4$
Because:
$182+281=463$
$463+364=827$
$827+728=1555$
$1555+5551=6666$
So the question is:
How many semipalindrome of level $1$ between $1-1000$ are?
number-theory palindrome
$endgroup$
add a comment |
$begingroup$
The palindrome, example: $131$, $82728$, $55655$.
But from the palindrome maker algorithm
say:
If $17$ isn't palindrome you must additive by reverse of them
$33$ is say $P(1)$ palindrome
$38$ is say $P(2)$ semipalindrome of level $1$
Because:
$38+83=121$
$182$ is say $P(5)$ semipalindrome of level $4$
Because:
$182+281=463$
$463+364=827$
$827+728=1555$
$1555+5551=6666$
So the question is:
How many semipalindrome of level $1$ between $1-1000$ are?
number-theory palindrome
$endgroup$
$begingroup$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41
add a comment |
$begingroup$
The palindrome, example: $131$, $82728$, $55655$.
But from the palindrome maker algorithm
say:
If $17$ isn't palindrome you must additive by reverse of them
$33$ is say $P(1)$ palindrome
$38$ is say $P(2)$ semipalindrome of level $1$
Because:
$38+83=121$
$182$ is say $P(5)$ semipalindrome of level $4$
Because:
$182+281=463$
$463+364=827$
$827+728=1555$
$1555+5551=6666$
So the question is:
How many semipalindrome of level $1$ between $1-1000$ are?
number-theory palindrome
$endgroup$
The palindrome, example: $131$, $82728$, $55655$.
But from the palindrome maker algorithm
say:
If $17$ isn't palindrome you must additive by reverse of them
$33$ is say $P(1)$ palindrome
$38$ is say $P(2)$ semipalindrome of level $1$
Because:
$38+83=121$
$182$ is say $P(5)$ semipalindrome of level $4$
Because:
$182+281=463$
$463+364=827$
$827+728=1555$
$1555+5551=6666$
So the question is:
How many semipalindrome of level $1$ between $1-1000$ are?
number-theory palindrome
number-theory palindrome
edited Dec 30 '18 at 15:13
Zacky
7,1501961
7,1501961
asked Dec 30 '18 at 14:52
HeartHeart
29918
29918
$begingroup$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41
add a comment |
$begingroup$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41
$begingroup$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
If you start with a two digit number $ab$ you get a palindrome in two cases:
if $a+b lt 10$ there will be no carry so you get $11(a+b)$
if you carry $1$ and the ones digit is $1$, so when $a+b=11$
If you start with a three digit number $abc$ you get a palindrome:
- if there are no carries at all
- if $a+c =11$ so the ones digit of the sum is $1$ and there is a carry, then $2b+1$ does not carry and matches the $1$ that $a+c$ gives in the hundreds, so $b=0$
- if $a+c=11$ and $2b+1$ does carry there will be a $2$ in the hundreds, which $2b+1$ cannot match. This does not work.
$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%2f3056892%2fpalindrome-vs-level-of-palindrome%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$
If you start with a two digit number $ab$ you get a palindrome in two cases:
if $a+b lt 10$ there will be no carry so you get $11(a+b)$
if you carry $1$ and the ones digit is $1$, so when $a+b=11$
If you start with a three digit number $abc$ you get a palindrome:
- if there are no carries at all
- if $a+c =11$ so the ones digit of the sum is $1$ and there is a carry, then $2b+1$ does not carry and matches the $1$ that $a+c$ gives in the hundreds, so $b=0$
- if $a+c=11$ and $2b+1$ does carry there will be a $2$ in the hundreds, which $2b+1$ cannot match. This does not work.
$endgroup$
add a comment |
$begingroup$
If you start with a two digit number $ab$ you get a palindrome in two cases:
if $a+b lt 10$ there will be no carry so you get $11(a+b)$
if you carry $1$ and the ones digit is $1$, so when $a+b=11$
If you start with a three digit number $abc$ you get a palindrome:
- if there are no carries at all
- if $a+c =11$ so the ones digit of the sum is $1$ and there is a carry, then $2b+1$ does not carry and matches the $1$ that $a+c$ gives in the hundreds, so $b=0$
- if $a+c=11$ and $2b+1$ does carry there will be a $2$ in the hundreds, which $2b+1$ cannot match. This does not work.
$endgroup$
add a comment |
$begingroup$
If you start with a two digit number $ab$ you get a palindrome in two cases:
if $a+b lt 10$ there will be no carry so you get $11(a+b)$
if you carry $1$ and the ones digit is $1$, so when $a+b=11$
If you start with a three digit number $abc$ you get a palindrome:
- if there are no carries at all
- if $a+c =11$ so the ones digit of the sum is $1$ and there is a carry, then $2b+1$ does not carry and matches the $1$ that $a+c$ gives in the hundreds, so $b=0$
- if $a+c=11$ and $2b+1$ does carry there will be a $2$ in the hundreds, which $2b+1$ cannot match. This does not work.
$endgroup$
If you start with a two digit number $ab$ you get a palindrome in two cases:
if $a+b lt 10$ there will be no carry so you get $11(a+b)$
if you carry $1$ and the ones digit is $1$, so when $a+b=11$
If you start with a three digit number $abc$ you get a palindrome:
- if there are no carries at all
- if $a+c =11$ so the ones digit of the sum is $1$ and there is a carry, then $2b+1$ does not carry and matches the $1$ that $a+c$ gives in the hundreds, so $b=0$
- if $a+c=11$ and $2b+1$ does carry there will be a $2$ in the hundreds, which $2b+1$ cannot match. This does not work.
answered Dec 30 '18 at 15:05
Ross MillikanRoss Millikan
297k23198371
297k23198371
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%2f3056892%2fpalindrome-vs-level-of-palindrome%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$
Well, if there are no carries involved in the addition then you always get a palindrome on one iteration, as in $134+431=565$. That gives you a lot of them, but not all (as your $38+83$ example shows). I wouldn't think it would be too hard to count those examples as well...after all they must begin and end in $1$ after the sum.
$endgroup$
– lulu
Dec 30 '18 at 15:01
$begingroup$
Is $2$ a semipalindrome because $2+2=4$ and $4$ is a palindrome? How about $22$?
$endgroup$
– Ross Millikan
Dec 30 '18 at 15:41