OFFSET
1,1
EXAMPLE
Prime(6)/prime(5) = 13/11 = 1 + 1/(5 + 1/2). So a(5) = 2.
MATHEMATICA
Table[Last[ContinuedFraction[Prime[n + 1]/Prime[n]]], {n, 100}] (* Ray Chandler, Sep 18 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 03 2005
EXTENSIONS
Extended by Ray Chandler, Sep 18 2005
STATUS
approved