OFFSET
1,1
COMMENTS
After the first term (3), a pattern of groups consisting, for m>=1, of the number 4m, followed by 3, then 4m-1 2's, then 3.
REFERENCES
Leonard Eugene Dickson, History of the Theory of Numbers, page 379.
EXAMPLE
e = 2.71828... = 3 - (1/(4 - (1/(3 - (1/(...))))).
PROG
(PARI) \p10000; p=exp(1.0); for(i=1, 300, print(i, " ", ceil(p)); p=ceil(p)-p; p=1/p )
CROSSREFS
KEYWORD
nonn
AUTHOR
Randy L. Ekl, Dec 26 2016
EXTENSIONS
More terms from Jinyuan Wang, Mar 04 2020
STATUS
approved