Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:递推公式 a[i]=2*(a[i-1]+a[i-2]*(i-1)) ?In Reply To:Re:递推公式 a[i]=2*(a[i-1]+a[i-2]*(i-1)) ? Posted by:19880901 at 2009-05-17 19:15:47 n/2 (n-2*k)/2 ans=sigma C(n,2*k)* sigma C(n-2*k,2*m)*2^(n-2*k-2*m) k=0 m=0 n/2 =sigma C(n,2*k)*2^(n-2*k)*1/2*[(1/2)^(n-2*k)+(3/2)^(n-2*k)] k=0 n/2 =1/2*sigma C(n,2*k)*[1+3^(n-2*k)] k=0 n/2 n/2 =1/2*sigma C(n,2*k)+1/2*3^n*sigma C(n,2*k)*3^(-2*k) k=0 k=0 =2^(n-1)+4*(n-1) 其中化简用到二项式展开 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator