Can anyone give me an idea how to get the sum of this series? [closed]












1












$begingroup$


I would like to get some tips how to solve a problem, not the actual solution but which mathemathical operations to apply to solve the problem. The problems says the following: (It's a programming problem but I don't know how to solve it math wise).



Write a function to calculate the energy of the sequence S.



The sequence is defined as $S= s_{1}s_{2}...s_{L}, s_{i} epsilon {(+1,-1)}$



$$E(S)= sum_{k=1}^{L-1} C_{k}^2(S)$$



$$C_{k}(S)= sum_{i=1}^{L-k} s_{i}s_{i}+k $$










share|cite|improve this question









$endgroup$



closed as off-topic by amWhy, Alexander Gruber Dec 4 '18 at 3:52


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – amWhy, Alexander Gruber

If this question can be reworded to fit the rules in the help center, please edit the question.





















    1












    $begingroup$


    I would like to get some tips how to solve a problem, not the actual solution but which mathemathical operations to apply to solve the problem. The problems says the following: (It's a programming problem but I don't know how to solve it math wise).



    Write a function to calculate the energy of the sequence S.



    The sequence is defined as $S= s_{1}s_{2}...s_{L}, s_{i} epsilon {(+1,-1)}$



    $$E(S)= sum_{k=1}^{L-1} C_{k}^2(S)$$



    $$C_{k}(S)= sum_{i=1}^{L-k} s_{i}s_{i}+k $$










    share|cite|improve this question









    $endgroup$



    closed as off-topic by amWhy, Alexander Gruber Dec 4 '18 at 3:52


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – amWhy, Alexander Gruber

    If this question can be reworded to fit the rules in the help center, please edit the question.



















      1












      1








      1





      $begingroup$


      I would like to get some tips how to solve a problem, not the actual solution but which mathemathical operations to apply to solve the problem. The problems says the following: (It's a programming problem but I don't know how to solve it math wise).



      Write a function to calculate the energy of the sequence S.



      The sequence is defined as $S= s_{1}s_{2}...s_{L}, s_{i} epsilon {(+1,-1)}$



      $$E(S)= sum_{k=1}^{L-1} C_{k}^2(S)$$



      $$C_{k}(S)= sum_{i=1}^{L-k} s_{i}s_{i}+k $$










      share|cite|improve this question









      $endgroup$




      I would like to get some tips how to solve a problem, not the actual solution but which mathemathical operations to apply to solve the problem. The problems says the following: (It's a programming problem but I don't know how to solve it math wise).



      Write a function to calculate the energy of the sequence S.



      The sequence is defined as $S= s_{1}s_{2}...s_{L}, s_{i} epsilon {(+1,-1)}$



      $$E(S)= sum_{k=1}^{L-1} C_{k}^2(S)$$



      $$C_{k}(S)= sum_{i=1}^{L-k} s_{i}s_{i}+k $$







      calculus sequences-and-series






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 3 '18 at 20:21









      Jan ZavecJan Zavec

      161




      161




      closed as off-topic by amWhy, Alexander Gruber Dec 4 '18 at 3:52


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – amWhy, Alexander Gruber

      If this question can be reworded to fit the rules in the help center, please edit the question.







      closed as off-topic by amWhy, Alexander Gruber Dec 4 '18 at 3:52


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – amWhy, Alexander Gruber

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa