2个回答
展开全部
a1=0,a2=0,a3=1, a4=1, a5=2, a6=4, a7=7,
a8=13, a9=24, a10=44, a11=81, a12=149, a13=274,
a14=504, a15=927, a16=1705, a17=3136, a18=5768,
a19=10609,
a20=19513, a21=35890, a22=66012, a23=121415, a24=223317,
a25=410744,
a26=755476, a27=1389537, a28=2555757, a29=4700770, a30=8646064,
a31=15902591,
a32=29249425, a33=53798080, a34=98950096, a35=181997601, a36=334745777。
a8=13, a9=24, a10=44, a11=81, a12=149, a13=274,
a14=504, a15=927, a16=1705, a17=3136, a18=5768,
a19=10609,
a20=19513, a21=35890, a22=66012, a23=121415, a24=223317,
a25=410744,
a26=755476, a27=1389537, a28=2555757, a29=4700770, a30=8646064,
a31=15902591,
a32=29249425, a33=53798080, a34=98950096, a35=181997601, a36=334745777。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Dim a(35) As Long
Dim i As Integer = 0, j As Integer = 0
For i = 0 To 35
a(i) = Nothing '''''''''''''''''''''''''''初始化
Next
a(0) = 0
a(1) = 0
a(2) = 1
For i = 3 To 35
a(i) = a(i - 1) + a(i - 2) + a(i - 3)
Next
Dim i As Integer = 0, j As Integer = 0
For i = 0 To 35
a(i) = Nothing '''''''''''''''''''''''''''初始化
Next
a(0) = 0
a(1) = 0
a(2) = 1
For i = 3 To 35
a(i) = a(i - 1) + a(i - 2) + a(i - 3)
Next
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询