Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:递推公式 a[i]=2*(a[i-1]+a[i-2]*(i-1)) ?

Posted by demo at 2009-05-18 21:21:57 on Problem 3734
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator