[seqfan] Code

Hans Havermann gladhobo at bell.net
Wed Jun 21 21:32:01 CEST 2017


I presume that the inclusion of code in sequences is to be able to generate/verify/extend that sequence. Simpler and faster is better. Browsing the OEIS today I chanced upon this Mathematica code for Fibonacci numbers < https://oeis.org/A000045 >:

Table[Fibonacci[n]^5 - Fibonacci[1 + n] + 3 Fibonacci[n]^4 Fibonacci[1 + n] + Fibonacci[n]^3 Fibonacci[1 + n]^2 - 3 Fibonacci[n]^2 Fibonacci[1 + n]^3 - Fibonacci[n] Fibonacci[1 + n]^4 + Fibonacci[1 + n]^5, {n, 1, 10}]

It's an interesting Fibonacci identity worthy perhaps of mention in the comments (if it isn't already there) but I'm not sure it ought to be where it is.


More information about the SeqFan mailing list