POV-Ray : Newsgroups : povray.off-topic : Project Euler : Re: Project Euler Server Time
11 Oct 2024 11:11:07 EDT (-0400)
  Re: Project Euler  
From: John VanSickle
Date: 26 Nov 2007 16:27:21
Message: <474b3a39@news.povray.org>
nemesis wrote:
> John VanSickle <evi### [at] hotmailcom> wrote:
>> For instance, the second problem looks iterative, but there is a direct
>> formula for any member of the Fibonacci series
>> (1/sqrt(5) * ( (phi^(n+3)-1)/(phi-1) - ((1-phi)^(n+3)-1)/(1-phi-1) )
> 
> hmm, did you find out the formula for yourself or looked it up somewhere?  Most
> of the fun in solving these puzzles is coming up with solutions by yourself...

I looked up the formula for a member of the Fibonacci series (I keep 
forgetting the 1/sqrt(5) constant), but once I had that I figured out 
the rest on my own.

Regards,
John


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.