OFFSET
0,2
EXAMPLE
phi=(1+sqrt(5))/2=1.6180339887498948482045... so z(10)=1.6180339887 and the continued fraction for z(10) is [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 2, 1, 1, 4, 1, 10, 36, 2], hence a(10)=36.
MATHEMATICA
A081836[n_] := Max[ContinuedFraction[Floor[GoldenRatio*10^n]/10^n]];
Array[A081836, 100, 0] (* Paolo Xausa, Jun 19 2024 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Apr 11 2003
STATUS
approved