CWYAlpha

Just another WordPress.com site

Thought this was cool: 斐波那契数列求和

leave a comment »


今天学习到了一个碉堡的斐波那契求和函数:

1
 2
  3
   5
    8
    13
     21
      34
       55
        89...
1235955... 

1/89 == 0.011235955056179775

母函数 这种技巧都忘记好久啦。。

还有类似的 1001/997002999 == 1.004009016025036049….

from est's blog: http://blog.est.im/post/29815635261

Written by cwyalpha

八月 21, 2012 在 9:11 上午

发表在 Uncategorized

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: