OFFSET
0,3
COMMENTS
The sequence of complex numbers (which this sequence is part of) converges to (i+sqrt(-1+4i))/2, found by simply solving the equation A = i + (i/A) for A using the quadratic formula. When plotted in the complex plane, these numbers form a counterclockwise spiral that quickly converges to a point.
EXAMPLE
a(6) = 5 since the sixth convergent is (3/5) + (13/10)i and hence the denominator of the real part is 5.
MATHEMATICA
GenerateA091807[1] := I; GenerateA091807[n_] := I + I/(GenerateA091807[n-1]); GenerateDenominatorsA091807[n_] := Table[Denominator[Re[GenerateA091807[x]]], {x, 1, n}]; GenerateDenominatorsA091807[20] would give the first 20 terms.
A091807[n_] := Denominator[ Re[ Fold[ I/(I + #) &, 1, Range[n]]]]; Table[ A091807[n], {n, 0, 32}] (* Robert G. Wilson v, Mar 13 2004 *)
CROSSREFS
KEYWORD
cofr,frac,nonn
AUTHOR
Ryan Witko (witko(AT)nyu.edu), Mar 06 2004
EXTENSIONS
More terms from Robert G. Wilson v, Mar 13 2004
STATUS
approved