Formula for the series $1+1+4+1+4+9..$ [on hold]











up vote
-3
down vote

favorite












Derive a formula for the series



$f(n)=1+1+4+1+4+9+.....+1+4+9+16...n^2$



Example



$f(3)= 1+1+4+1+4+9$



I couldn't really find any derivation of this online or a question like this it self.










share|cite|improve this question









New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did 2 days ago


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." – José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did

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









  • 1




    First thing is to figure out what is $1+4+cdots+n^2$
    – kingW3
    2 days ago










  • $f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
    – Yadati Kiran
    2 days ago












  • @YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
    – Ross Millikan
    2 days ago










  • You could look up Faulhaber's formula
    – Ross Millikan
    2 days ago






  • 1




    @RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
    – Yadati Kiran
    2 days ago

















up vote
-3
down vote

favorite












Derive a formula for the series



$f(n)=1+1+4+1+4+9+.....+1+4+9+16...n^2$



Example



$f(3)= 1+1+4+1+4+9$



I couldn't really find any derivation of this online or a question like this it self.










share|cite|improve this question









New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did 2 days ago


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." – José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did

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









  • 1




    First thing is to figure out what is $1+4+cdots+n^2$
    – kingW3
    2 days ago










  • $f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
    – Yadati Kiran
    2 days ago












  • @YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
    – Ross Millikan
    2 days ago










  • You could look up Faulhaber's formula
    – Ross Millikan
    2 days ago






  • 1




    @RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
    – Yadati Kiran
    2 days ago















up vote
-3
down vote

favorite









up vote
-3
down vote

favorite











Derive a formula for the series



$f(n)=1+1+4+1+4+9+.....+1+4+9+16...n^2$



Example



$f(3)= 1+1+4+1+4+9$



I couldn't really find any derivation of this online or a question like this it self.










share|cite|improve this question









New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Derive a formula for the series



$f(n)=1+1+4+1+4+9+.....+1+4+9+16...n^2$



Example



$f(3)= 1+1+4+1+4+9$



I couldn't really find any derivation of this online or a question like this it self.







sequences-and-series






share|cite|improve this question









New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited 2 days ago









amWhy

191k27223438




191k27223438






New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Ktk

13




13




New contributor




Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ktk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did 2 days ago


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." – José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did

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




put on hold as off-topic by José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did 2 days ago


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." – José Carlos Santos, TheSimpliFire, kingW3, amWhy, Did

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








  • 1




    First thing is to figure out what is $1+4+cdots+n^2$
    – kingW3
    2 days ago










  • $f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
    – Yadati Kiran
    2 days ago












  • @YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
    – Ross Millikan
    2 days ago










  • You could look up Faulhaber's formula
    – Ross Millikan
    2 days ago






  • 1




    @RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
    – Yadati Kiran
    2 days ago
















  • 1




    First thing is to figure out what is $1+4+cdots+n^2$
    – kingW3
    2 days ago










  • $f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
    – Yadati Kiran
    2 days ago












  • @YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
    – Ross Millikan
    2 days ago










  • You could look up Faulhaber's formula
    – Ross Millikan
    2 days ago






  • 1




    @RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
    – Yadati Kiran
    2 days ago










1




1




First thing is to figure out what is $1+4+cdots+n^2$
– kingW3
2 days ago




First thing is to figure out what is $1+4+cdots+n^2$
– kingW3
2 days ago












$f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
– Yadati Kiran
2 days ago






$f(n)=displaystylesum_{k=0}^n dfrac{k(k+1)(2k+1)}{6}$
– Yadati Kiran
2 days ago














@YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
– Ross Millikan
2 days ago




@YadatiKiran: that is correct for kingW3's hint, but not for the original problem where $f(n)$ is defined
– Ross Millikan
2 days ago












You could look up Faulhaber's formula
– Ross Millikan
2 days ago




You could look up Faulhaber's formula
– Ross Millikan
2 days ago




1




1




@RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
– Yadati Kiran
2 days ago






@RossMillikan: Sum of squares is $dfrac{k(k+1)(2k+1)}{6}$ and here $f(n)=1+(1+4)+(1+4+9)+cdots+(1+4+9+cdots+n^2)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}$. So it is that sum i suppose.
– Yadati Kiran
2 days ago












4 Answers
4






active

oldest

votes

















up vote
3
down vote



accepted










$f(n)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}=sum_{k=1}^n dfrac{2k^3+3k^2+k}{6}=dfrac{1}{6}left(2sum_{k=1}^n k^3+3sum_{k=1}^nk^2+sum_{k=1}^nkright)$.



(Assuming you know the formula for the sum of cubes and squares of first $n$ natural numbers.)






share|cite|improve this answer




























    up vote
    2
    down vote













    As suggested by the user Yadati Kiran, $$f(n)=frac {1}{12} n(n+1)(n^2+3n+2)$$






    share|cite|improve this answer




























      up vote
      0
      down vote













      Hint: This is just
      $$sum_{k=1}^n left(sum_{j=1}^k j^2right)$$






      share|cite|improve this answer




























        up vote
        0
        down vote













        With application of hockeystick identity:



        $$begin{aligned}sum_{k=1}^{n}sum_{m=1}^{k}m^{2} & =sum_{k=1}^{n}sum_{m=1}^{k}left[2binom{m}{2}+binom{m}{1}right]\
        & =2sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{2}+sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{1}\
        & =2sum_{k=1}^{n}binom{k+1}{3}+sum_{k=1}^{n}binom{k+1}{2}\
        & =2binom{n+2}{4}+binom{n+2}{3}\
        & =frac{1}{12}left(n+2right)left(n+1right)nleft(n-1right)+frac{1}{6}left(n+2right)left(n+1right)n\
        & =frac{1}{12}left(n+2right)left(n+1right)^{2}n
        end{aligned}
        $$






        share|cite|improve this answer





















        • In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
          – Yadati Kiran
          2 days ago












        • @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
          – drhab
          2 days ago


















        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        3
        down vote



        accepted










        $f(n)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}=sum_{k=1}^n dfrac{2k^3+3k^2+k}{6}=dfrac{1}{6}left(2sum_{k=1}^n k^3+3sum_{k=1}^nk^2+sum_{k=1}^nkright)$.



        (Assuming you know the formula for the sum of cubes and squares of first $n$ natural numbers.)






        share|cite|improve this answer

























          up vote
          3
          down vote



          accepted










          $f(n)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}=sum_{k=1}^n dfrac{2k^3+3k^2+k}{6}=dfrac{1}{6}left(2sum_{k=1}^n k^3+3sum_{k=1}^nk^2+sum_{k=1}^nkright)$.



          (Assuming you know the formula for the sum of cubes and squares of first $n$ natural numbers.)






          share|cite|improve this answer























            up vote
            3
            down vote



            accepted







            up vote
            3
            down vote



            accepted






            $f(n)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}=sum_{k=1}^n dfrac{2k^3+3k^2+k}{6}=dfrac{1}{6}left(2sum_{k=1}^n k^3+3sum_{k=1}^nk^2+sum_{k=1}^nkright)$.



            (Assuming you know the formula for the sum of cubes and squares of first $n$ natural numbers.)






            share|cite|improve this answer












            $f(n)=displaystylesum_{k=1}^n dfrac{k(k+1)(2k+1)}{6}=sum_{k=1}^n dfrac{2k^3+3k^2+k}{6}=dfrac{1}{6}left(2sum_{k=1}^n k^3+3sum_{k=1}^nk^2+sum_{k=1}^nkright)$.



            (Assuming you know the formula for the sum of cubes and squares of first $n$ natural numbers.)







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 2 days ago









            Yadati Kiran

            1,278317




            1,278317






















                up vote
                2
                down vote













                As suggested by the user Yadati Kiran, $$f(n)=frac {1}{12} n(n+1)(n^2+3n+2)$$






                share|cite|improve this answer

























                  up vote
                  2
                  down vote













                  As suggested by the user Yadati Kiran, $$f(n)=frac {1}{12} n(n+1)(n^2+3n+2)$$






                  share|cite|improve this answer























                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    As suggested by the user Yadati Kiran, $$f(n)=frac {1}{12} n(n+1)(n^2+3n+2)$$






                    share|cite|improve this answer












                    As suggested by the user Yadati Kiran, $$f(n)=frac {1}{12} n(n+1)(n^2+3n+2)$$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered 2 days ago









                    Awe Kumar Jha

                    3189




                    3189






















                        up vote
                        0
                        down vote













                        Hint: This is just
                        $$sum_{k=1}^n left(sum_{j=1}^k j^2right)$$






                        share|cite|improve this answer

























                          up vote
                          0
                          down vote













                          Hint: This is just
                          $$sum_{k=1}^n left(sum_{j=1}^k j^2right)$$






                          share|cite|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Hint: This is just
                            $$sum_{k=1}^n left(sum_{j=1}^k j^2right)$$






                            share|cite|improve this answer












                            Hint: This is just
                            $$sum_{k=1}^n left(sum_{j=1}^k j^2right)$$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered 2 days ago









                            MPW

                            29.6k11856




                            29.6k11856






















                                up vote
                                0
                                down vote













                                With application of hockeystick identity:



                                $$begin{aligned}sum_{k=1}^{n}sum_{m=1}^{k}m^{2} & =sum_{k=1}^{n}sum_{m=1}^{k}left[2binom{m}{2}+binom{m}{1}right]\
                                & =2sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{2}+sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{1}\
                                & =2sum_{k=1}^{n}binom{k+1}{3}+sum_{k=1}^{n}binom{k+1}{2}\
                                & =2binom{n+2}{4}+binom{n+2}{3}\
                                & =frac{1}{12}left(n+2right)left(n+1right)nleft(n-1right)+frac{1}{6}left(n+2right)left(n+1right)n\
                                & =frac{1}{12}left(n+2right)left(n+1right)^{2}n
                                end{aligned}
                                $$






                                share|cite|improve this answer





















                                • In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                  – Yadati Kiran
                                  2 days ago












                                • @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                  – drhab
                                  2 days ago















                                up vote
                                0
                                down vote













                                With application of hockeystick identity:



                                $$begin{aligned}sum_{k=1}^{n}sum_{m=1}^{k}m^{2} & =sum_{k=1}^{n}sum_{m=1}^{k}left[2binom{m}{2}+binom{m}{1}right]\
                                & =2sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{2}+sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{1}\
                                & =2sum_{k=1}^{n}binom{k+1}{3}+sum_{k=1}^{n}binom{k+1}{2}\
                                & =2binom{n+2}{4}+binom{n+2}{3}\
                                & =frac{1}{12}left(n+2right)left(n+1right)nleft(n-1right)+frac{1}{6}left(n+2right)left(n+1right)n\
                                & =frac{1}{12}left(n+2right)left(n+1right)^{2}n
                                end{aligned}
                                $$






                                share|cite|improve this answer





















                                • In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                  – Yadati Kiran
                                  2 days ago












                                • @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                  – drhab
                                  2 days ago













                                up vote
                                0
                                down vote










                                up vote
                                0
                                down vote









                                With application of hockeystick identity:



                                $$begin{aligned}sum_{k=1}^{n}sum_{m=1}^{k}m^{2} & =sum_{k=1}^{n}sum_{m=1}^{k}left[2binom{m}{2}+binom{m}{1}right]\
                                & =2sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{2}+sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{1}\
                                & =2sum_{k=1}^{n}binom{k+1}{3}+sum_{k=1}^{n}binom{k+1}{2}\
                                & =2binom{n+2}{4}+binom{n+2}{3}\
                                & =frac{1}{12}left(n+2right)left(n+1right)nleft(n-1right)+frac{1}{6}left(n+2right)left(n+1right)n\
                                & =frac{1}{12}left(n+2right)left(n+1right)^{2}n
                                end{aligned}
                                $$






                                share|cite|improve this answer












                                With application of hockeystick identity:



                                $$begin{aligned}sum_{k=1}^{n}sum_{m=1}^{k}m^{2} & =sum_{k=1}^{n}sum_{m=1}^{k}left[2binom{m}{2}+binom{m}{1}right]\
                                & =2sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{2}+sum_{k=1}^{n}sum_{m=1}^{k}binom{m}{1}\
                                & =2sum_{k=1}^{n}binom{k+1}{3}+sum_{k=1}^{n}binom{k+1}{2}\
                                & =2binom{n+2}{4}+binom{n+2}{3}\
                                & =frac{1}{12}left(n+2right)left(n+1right)nleft(n-1right)+frac{1}{6}left(n+2right)left(n+1right)n\
                                & =frac{1}{12}left(n+2right)left(n+1right)^{2}n
                                end{aligned}
                                $$







                                share|cite|improve this answer












                                share|cite|improve this answer



                                share|cite|improve this answer










                                answered 2 days ago









                                drhab

                                94.8k543125




                                94.8k543125












                                • In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                  – Yadati Kiran
                                  2 days ago












                                • @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                  – drhab
                                  2 days ago


















                                • In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                  – Yadati Kiran
                                  2 days ago












                                • @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                  – drhab
                                  2 days ago
















                                In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                – Yadati Kiran
                                2 days ago






                                In second line first summation shouldn't $m=2$ to $k$ for applying hockey stick identity?
                                – Yadati Kiran
                                2 days ago














                                @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                – drhab
                                2 days ago




                                @YadatiKiran does not really matter. Use the (useful ) convention that $binom {r}{s}:=0$ if $snotin {0,1,dots,r} $.
                                – drhab
                                2 days ago



                                Popular posts from this blog

                                Morgemoulin

                                Scott Moir

                                Souastre