Message Boards Message Boards

0
|
4607 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Fibonacci simplify

Posted 10 years ago

Hi

I have this expression of Fibonacci:

2*FIB[-1 + n] + FIB[n];

and I want this as result:

2*FIB[-3 + n]

How can I do?

Thanks

Galasi

POSTED BY: Massimo Galasi
2 Replies
Posted 10 years ago

you are right

Thanks!

POSTED BY: Massimo Galasi

The function for Fibonacci numbers in Mathematica is called Fibonacci:

I'm not sure how much functions like FullSimplfiy are able to reason about expressions with Fibonacci in them, but the identitiy you wrote doesn't seem to hold. Compare:

Table[Fibonacci[-1 + n] + Fibonacci[n], {n, 1, 10}]

Table[2*Fibonacci[-3 + n], {n, 1, 10}]
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract