Writing down consecutive natural numbers until a certain number of digits $k$ is reached.












1












$begingroup$


A person starts writing consecutive natural numbers from $5$ until $k$ digits are reached. For some values of $k$, this will be impossible, for example $6$ or $8$ are impossible as then after writing the single digit numbers, we will have $1$ and $3$ left over respectively, but then we can only write double digit numbers.



An example of this would be if the person wanted to write $9$ digits, they write $5, 6, 7, 8, 9, 10, 11$ for a total of $5 + 2(2) = 9$ digits.



Question: Prove that if $A$, $B$, and $n$ are positive integers, then it is not possible to write $An^{2}$ + $B$ digits for each possible $n$ i.e for each pair of $(A,B)$, there exists an $n$ such that the person cannot write $An^{2}$ + $B$ digits.



I proved that the statement is true for $An$ + $B$, and think that it is true in this case as well, but I can't come up with a proof.



Edit: A sketch of the proof for the above case would be to note that as we go from $n$ to $n + 1$, the initial $An + B$ part is identical, and we only add $A$ digits after. Note that the smallest number we use in this "$A$ " digits interval is ever increasing, so there will come a point when even the smallest number in this interval shall contain more than $A$ digits.



Some perhaps useful facts:



$1)$ The differences between consecutive iterations is $a(2n + 1)$, a linear function in $n$.



$2)$ For sufficiently large $n$, if the $n$-th iteration uses numbers with at most $P$ digits, then the next iteration will use numbers with at most $P + 1$ digits.



$3)$ I imagine the proof is something which can be generalized to higher order polynomials as well.










share|cite|improve this question











$endgroup$












  • $begingroup$
    This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
    $endgroup$
    – lulu
    Jan 15 at 20:35










  • $begingroup$
    For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
    $endgroup$
    – Saad
    Jan 15 at 20:37










  • $begingroup$
    I don't think that interpretation would occur to very many people. Please edit your post for clarity.
    $endgroup$
    – lulu
    Jan 15 at 20:39






  • 1




    $begingroup$
    No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
    $endgroup$
    – Saad
    Jan 15 at 21:05






  • 1




    $begingroup$
    Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
    $endgroup$
    – lulu
    Jan 15 at 21:06
















1












$begingroup$


A person starts writing consecutive natural numbers from $5$ until $k$ digits are reached. For some values of $k$, this will be impossible, for example $6$ or $8$ are impossible as then after writing the single digit numbers, we will have $1$ and $3$ left over respectively, but then we can only write double digit numbers.



An example of this would be if the person wanted to write $9$ digits, they write $5, 6, 7, 8, 9, 10, 11$ for a total of $5 + 2(2) = 9$ digits.



Question: Prove that if $A$, $B$, and $n$ are positive integers, then it is not possible to write $An^{2}$ + $B$ digits for each possible $n$ i.e for each pair of $(A,B)$, there exists an $n$ such that the person cannot write $An^{2}$ + $B$ digits.



I proved that the statement is true for $An$ + $B$, and think that it is true in this case as well, but I can't come up with a proof.



Edit: A sketch of the proof for the above case would be to note that as we go from $n$ to $n + 1$, the initial $An + B$ part is identical, and we only add $A$ digits after. Note that the smallest number we use in this "$A$ " digits interval is ever increasing, so there will come a point when even the smallest number in this interval shall contain more than $A$ digits.



Some perhaps useful facts:



$1)$ The differences between consecutive iterations is $a(2n + 1)$, a linear function in $n$.



$2)$ For sufficiently large $n$, if the $n$-th iteration uses numbers with at most $P$ digits, then the next iteration will use numbers with at most $P + 1$ digits.



$3)$ I imagine the proof is something which can be generalized to higher order polynomials as well.










share|cite|improve this question











$endgroup$












  • $begingroup$
    This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
    $endgroup$
    – lulu
    Jan 15 at 20:35










  • $begingroup$
    For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
    $endgroup$
    – Saad
    Jan 15 at 20:37










  • $begingroup$
    I don't think that interpretation would occur to very many people. Please edit your post for clarity.
    $endgroup$
    – lulu
    Jan 15 at 20:39






  • 1




    $begingroup$
    No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
    $endgroup$
    – Saad
    Jan 15 at 21:05






  • 1




    $begingroup$
    Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
    $endgroup$
    – lulu
    Jan 15 at 21:06














1












1








1


1



$begingroup$


A person starts writing consecutive natural numbers from $5$ until $k$ digits are reached. For some values of $k$, this will be impossible, for example $6$ or $8$ are impossible as then after writing the single digit numbers, we will have $1$ and $3$ left over respectively, but then we can only write double digit numbers.



An example of this would be if the person wanted to write $9$ digits, they write $5, 6, 7, 8, 9, 10, 11$ for a total of $5 + 2(2) = 9$ digits.



Question: Prove that if $A$, $B$, and $n$ are positive integers, then it is not possible to write $An^{2}$ + $B$ digits for each possible $n$ i.e for each pair of $(A,B)$, there exists an $n$ such that the person cannot write $An^{2}$ + $B$ digits.



I proved that the statement is true for $An$ + $B$, and think that it is true in this case as well, but I can't come up with a proof.



Edit: A sketch of the proof for the above case would be to note that as we go from $n$ to $n + 1$, the initial $An + B$ part is identical, and we only add $A$ digits after. Note that the smallest number we use in this "$A$ " digits interval is ever increasing, so there will come a point when even the smallest number in this interval shall contain more than $A$ digits.



Some perhaps useful facts:



$1)$ The differences between consecutive iterations is $a(2n + 1)$, a linear function in $n$.



$2)$ For sufficiently large $n$, if the $n$-th iteration uses numbers with at most $P$ digits, then the next iteration will use numbers with at most $P + 1$ digits.



$3)$ I imagine the proof is something which can be generalized to higher order polynomials as well.










share|cite|improve this question











$endgroup$




A person starts writing consecutive natural numbers from $5$ until $k$ digits are reached. For some values of $k$, this will be impossible, for example $6$ or $8$ are impossible as then after writing the single digit numbers, we will have $1$ and $3$ left over respectively, but then we can only write double digit numbers.



An example of this would be if the person wanted to write $9$ digits, they write $5, 6, 7, 8, 9, 10, 11$ for a total of $5 + 2(2) = 9$ digits.



Question: Prove that if $A$, $B$, and $n$ are positive integers, then it is not possible to write $An^{2}$ + $B$ digits for each possible $n$ i.e for each pair of $(A,B)$, there exists an $n$ such that the person cannot write $An^{2}$ + $B$ digits.



I proved that the statement is true for $An$ + $B$, and think that it is true in this case as well, but I can't come up with a proof.



Edit: A sketch of the proof for the above case would be to note that as we go from $n$ to $n + 1$, the initial $An + B$ part is identical, and we only add $A$ digits after. Note that the smallest number we use in this "$A$ " digits interval is ever increasing, so there will come a point when even the smallest number in this interval shall contain more than $A$ digits.



Some perhaps useful facts:



$1)$ The differences between consecutive iterations is $a(2n + 1)$, a linear function in $n$.



$2)$ For sufficiently large $n$, if the $n$-th iteration uses numbers with at most $P$ digits, then the next iteration will use numbers with at most $P + 1$ digits.



$3)$ I imagine the proof is something which can be generalized to higher order polynomials as well.







number-theory integer-partitions decimal-expansion natural-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 15 at 21:24







Saad

















asked Jan 15 at 20:19









Saad Saad

585211




585211












  • $begingroup$
    This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
    $endgroup$
    – lulu
    Jan 15 at 20:35










  • $begingroup$
    For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
    $endgroup$
    – Saad
    Jan 15 at 20:37










  • $begingroup$
    I don't think that interpretation would occur to very many people. Please edit your post for clarity.
    $endgroup$
    – lulu
    Jan 15 at 20:39






  • 1




    $begingroup$
    No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
    $endgroup$
    – Saad
    Jan 15 at 21:05






  • 1




    $begingroup$
    Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
    $endgroup$
    – lulu
    Jan 15 at 21:06


















  • $begingroup$
    This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
    $endgroup$
    – lulu
    Jan 15 at 20:35










  • $begingroup$
    For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
    $endgroup$
    – Saad
    Jan 15 at 20:37










  • $begingroup$
    I don't think that interpretation would occur to very many people. Please edit your post for clarity.
    $endgroup$
    – lulu
    Jan 15 at 20:39






  • 1




    $begingroup$
    No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
    $endgroup$
    – Saad
    Jan 15 at 21:05






  • 1




    $begingroup$
    Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
    $endgroup$
    – lulu
    Jan 15 at 21:06
















$begingroup$
This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
$endgroup$
– lulu
Jan 15 at 20:35




$begingroup$
This is not clear. What does "until $k$ digits are reached" mean? I assumed you meant "natural numbers of length $k$" but that's not consistent with the rest of what you wrote.
$endgroup$
– lulu
Jan 15 at 20:35












$begingroup$
For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
$endgroup$
– Saad
Jan 15 at 20:37




$begingroup$
For example, until $9$ digits would mean writing 5, 6, 7, 8, 9, 10, 11. So the total number of digits is 5 + 2(2) = 9.
$endgroup$
– Saad
Jan 15 at 20:37












$begingroup$
I don't think that interpretation would occur to very many people. Please edit your post for clarity.
$endgroup$
– lulu
Jan 15 at 20:39




$begingroup$
I don't think that interpretation would occur to very many people. Please edit your post for clarity.
$endgroup$
– lulu
Jan 15 at 20:39




1




1




$begingroup$
No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
$endgroup$
– Saad
Jan 15 at 21:05




$begingroup$
No, @lulu. The question is to show that for each pair $(A,B)$, you cannot write $A(n^{2}) + B$ digits for each $n$. For instance, if $A$ = 2, $B$ = 3, the question is whether you can write out consecutive natural numbers to hit $5, 11, 21, 35, ..$ digits
$endgroup$
– Saad
Jan 15 at 21:05




1




1




$begingroup$
Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
$endgroup$
– lulu
Jan 15 at 21:06




$begingroup$
Sure...but if I could change the start each time, isn't it obvious that I could achieve whatever digit count I liked? I understand it if the starting point is fixed, but you indicated that you thought that irrelevant.
$endgroup$
– lulu
Jan 15 at 21:06










0






active

oldest

votes











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%2f3074910%2fwriting-down-consecutive-natural-numbers-until-a-certain-number-of-digits-k-is%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3074910%2fwriting-down-consecutive-natural-numbers-until-a-certain-number-of-digits-k-is%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith