Re: fibonacci -> FFT -> generating function?




On Apr 7, 1:51 am, dillog...@xxxxxxxxx wrote:
|Does FFT has the power to find the generating function for a
|recursively generated sequence like fibonacci?

Well, what does the FFT of such a sequence look like? Suppose your
sequence is of the form,

f(k) = a1*b1^k + a2*b2^k + ... + ar*br^k,

where k=0,...,n-1. In the case of the Fibonacci sequence, r=2. In one
form the FFT is just

f^(j)
= sum{i=0,n-1} f(i)*e^(2*pi*i*j*k/n)
= sum{i=0,n-1} sum{s=1,k} as*bs^k*e^(2*pi*i*j*k/n)
= sum{s=1,k} as * sum{0,n-1} (bs*e^(2*pi*i*j/n))^k
= sum{s=1,k} as * ((bs*e^(2*pi*i*j/n))^n - 1)/(bs*e^(2*pi*i*j/n) - 1)
= sum{s=1,k} as * (bs^n - 1) / (bs*e^(2*pi*i*j/n) - 1).

You could try to figure out a1,b1, a2,b2, etc. from the result. In the
case of a sequence like Fibonacci, there's one term that's much bigger
than the others. The magnitude of that term is greatest at j=0 and
smallest when j is around n/2. The ratio might let you figure out what
b1 is.

But why go through the torture when you can more easily find the
generating function some other way?

Keith Ramsay

.



Relevant Pages

  • fibonacci -> FFT -> generating function?
    ... Does FFT has the power to find the generating function for a ... recursively generated sequence like fibonacci? ...
    (sci.math)
  • N[(1/2)-k*(k-1/2)*(-3)/Factorial[k], 10000]
    ... in S_n.%C A000045 This is also the Horadam sequence.-Ross La ... %C A000045 The Fibonacci sequence,like any additive sequence,naturally ... representation for Lucas numbers.Many Fibonacci formulas ... Fibonacci Numbers%H A000045 Eric Weisstein's World of Mathematics, ...
    (sci.math)
  • Re: c language
    ... this sequence was described by the Indian mathematicians Gopala and Hemachandra in 1150, who were investigating the possible ways of exactly bin packing items of length 1 and 2. ... In the West, it was first studied by Leonardo of Pisa, who was also known as Fibonacci, to describe the growth of an idealised rabbit population. ... Every positive integer can be written in a unique way as the sum of one or more distinct Fibonacci numbers in such a way that the sum does not include any two consecutive Fibonacci numbers. ... For example, the solutions to reaction-diffusion differential equations can show such a patterning; in biology, genes often express themselves through gene regulatory networks, that is, in terms of several enzymes controlling a reaction, which can be modelled with reaction-diffusion equations. ...
    (comp.programming)
  • Re: how do you calculate index of output for mixed radix DIF FFT?
    ... of the above mixed radix example? ... The decimation type doesn't really matter when it comes to output ... sequence. ... The input/output sequence of an FFT can be seen as matrix ...
    (comp.dsp)
  • Re: Whats with this sequence?
    ... number and the corresponding Fibonacci number. ... Starting with the first triangle number and the first ... Gives this resulting sequence -- ... difference table is all zeroes from its 3rd row onward. ...
    (sci.math)