How do I describe the progression $c+ba^{-(n-1)}$? I'm seeking an efficient sum to arbitrary $n$.












2












$begingroup$


How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$



where integer $n > 0$.



My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)



From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).



So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    @dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
    $endgroup$
    – bignose
    Jan 5 at 6:20






  • 1




    $begingroup$
    Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
    $endgroup$
    – Shubham Johri
    Jan 5 at 6:25












  • $begingroup$
    @ShubhamJohri, would you like to put that into an answer? If not, I can do it.
    $endgroup$
    – bignose
    Jan 6 at 1:22












  • $begingroup$
    Sure, there you go
    $endgroup$
    – Shubham Johri
    Jan 6 at 6:23


















2












$begingroup$


How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$



where integer $n > 0$.



My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)



From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).



So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    @dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
    $endgroup$
    – bignose
    Jan 5 at 6:20






  • 1




    $begingroup$
    Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
    $endgroup$
    – Shubham Johri
    Jan 5 at 6:25












  • $begingroup$
    @ShubhamJohri, would you like to put that into an answer? If not, I can do it.
    $endgroup$
    – bignose
    Jan 6 at 1:22












  • $begingroup$
    Sure, there you go
    $endgroup$
    – Shubham Johri
    Jan 6 at 6:23
















2












2








2





$begingroup$


How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$



where integer $n > 0$.



My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)



From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).



So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?










share|cite|improve this question











$endgroup$




How do I characterise a progression of the form:
$$
c+ba^{-(n-1)}
$$



where integer $n > 0$.



My motivation is that I'm trying to find an efficient sum for this progression, to an arbitrary $n$. (The existing function sums by iterative addition, which is very inefficient for even moderately large $n$.)



From asking earlier I am informed this is not a geometric progression (and hence I can't use the sum formula for a geometric progression).



So, what kind of progression is this, and how do I efficiently sum it, ideally with arithmetic no more complex than exponentiation?







sequences-and-series algorithms






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 6 at 6:26









Blue

47.7k870151




47.7k870151










asked Jan 5 at 6:15









bignosebignose

1255




1255








  • 1




    $begingroup$
    @dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
    $endgroup$
    – bignose
    Jan 5 at 6:20






  • 1




    $begingroup$
    Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
    $endgroup$
    – Shubham Johri
    Jan 5 at 6:25












  • $begingroup$
    @ShubhamJohri, would you like to put that into an answer? If not, I can do it.
    $endgroup$
    – bignose
    Jan 6 at 1:22












  • $begingroup$
    Sure, there you go
    $endgroup$
    – Shubham Johri
    Jan 6 at 6:23
















  • 1




    $begingroup$
    @dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
    $endgroup$
    – bignose
    Jan 5 at 6:20






  • 1




    $begingroup$
    Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
    $endgroup$
    – Shubham Johri
    Jan 5 at 6:25












  • $begingroup$
    @ShubhamJohri, would you like to put that into an answer? If not, I can do it.
    $endgroup$
    – bignose
    Jan 6 at 1:22












  • $begingroup$
    Sure, there you go
    $endgroup$
    – Shubham Johri
    Jan 6 at 6:23










1




1




$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20




$begingroup$
@dmtri, thanks you were faster than my edit :-) The question now uses $n$ in the expression.
$endgroup$
– bignose
Jan 5 at 6:20




1




1




$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25






$begingroup$
Note that $$displaystylesum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$ where the second term is the sum of a geometric progression.
$endgroup$
– Shubham Johri
Jan 5 at 6:25














$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22






$begingroup$
@ShubhamJohri, would you like to put that into an answer? If not, I can do it.
$endgroup$
– bignose
Jan 6 at 1:22














$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23






$begingroup$
Sure, there you go
$endgroup$
– Shubham Johri
Jan 6 at 6:23












2 Answers
2






active

oldest

votes


















3












$begingroup$

You have
$$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
$$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
$$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.






    share|cite|improve this answer









    $endgroup$













      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%2f3062440%2fhow-do-i-describe-the-progression-cba-n-1-im-seeking-an-efficient-sum%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









      3












      $begingroup$

      You have
      $$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
      $$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
      $$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$






      share|cite|improve this answer









      $endgroup$


















        3












        $begingroup$

        You have
        $$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
        $$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
        $$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$






        share|cite|improve this answer









        $endgroup$
















          3












          3








          3





          $begingroup$

          You have
          $$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
          $$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
          $$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$






          share|cite|improve this answer









          $endgroup$



          You have
          $$u_n = c + frac{b}{a^{n-1}}$$ and you want to find
          $$S_n = sum_{k=1}^{n}u_k = sum_{k=1}^{n}left( c + frac{b}{a^{k-1}}right) =cn+bleft(1+frac{1}{a^2}+cdots +frac{1}{a^{n-1}}right) $$
          $$ = cn+frac{b}{a^{n-1}}left(frac{a^n-1}{a-1}right).$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 5 at 6:26









          Hello_WorldHello_World

          4,15521630




          4,15521630























              0












              $begingroup$

              Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.






                  share|cite|improve this answer









                  $endgroup$



                  Note that $$sum_1^nBig[c+frac b{a^{k-1}}Big]=sum_1^n c+sum_1^nfrac b{a^{k-1}}=nc+bBig[frac{1-a^{-n}}{1-a^{-1}}Big]$$where the second term is the sum of a geometric progression.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 6 at 6:21









                  Shubham JohriShubham Johri

                  4,666717




                  4,666717






























                      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%2f3062440%2fhow-do-i-describe-the-progression-cba-n-1-im-seeking-an-efficient-sum%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

                      1300-talet

                      1300-talet

                      Has there ever been an instance of an active nuclear power plant within or near a war zone?