Changes between Initial Version and Version 1 of Ticket #10682


Ignore:
Timestamp:
11/17/11 07:33:42 (10 years ago)
Author:
mboratko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10682 – Description

    initial v1  
    22{{{
    33sage: var ('n,k')
    4 sage: sum (binomial(n,k)*k2, k, 0, n)  # is right
    5 sage: sum (binomial(n,k)*k2, k, 1, n)  # is right n(n+1)2^(n-2)
    6 sage: sum (binomial(n,k)*k2, k, 2, n)  # is false : I get 0
     4sage: sum (binomial(n,k)*k^2, k, 0, n)  # is right
     5sage: sum (binomial(n,k)*k^2, k, 1, n)  # is right n(n+1)2^(n-2)
     6sage: sum (binomial(n,k)*k^2, k, 2, n)  # is false : I get 0
    77}}}