Look here. Use the math forum for that stuff.http://www.vbforums.com/showthread.p...onacci+numbers