Today in Geometry we were learning about spheres and we had a quick lesson about the fibonacci sequence. I devised a program using the internet (to find phi) and the lesson, and I came up with this formula. But when I test it, the result is always zero.

My program is supposed to find the nth value of the fib. sequence. Here's the code:

PROGRAM:FIBONACI
:ClrHome
:(1+√(5))/2→P //This I found off the internet; it's the exact value of phi
:Input "VAR: ",N
:(P^N-(P)^N)/√(5) //This is the formula I devised. The 0 error has got to be somewhere here...

So that's the code. I refrained from a

:(formula)→X
:Disp X

Because we all know that calculating the function and ending the program after displays it anyways.

The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"

That is precisely the reason :D There is also a more compact formula. Since $(-\phi)^{n}\rightarrow 0$ as $n\rightarrow \infty$, you actually only need to round the formula $(\phi)^{n}$. So for example:

Wow, that's ingenious. Thanks Mr Dino and Xeda. Um, is there a way to do this same thing, yet make it also display all the numbers before it as well? So if you put 7 as N, then it would show

0,1,1,2,3,5,8

Of course, only an idiot would put a number like 1,000 and try to break the calculator…

L1K3AWH15P3R

The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"