OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Pierce Expansion
Wikipedia, Engel Expansion
MATHEMATICA
PierceExp[A_, n_] := Join[Array[1 &, Floor[A]], First@Transpose@
NestList[{Floor[1/Expand[1 - #[[1]] #[[2]]]], Expand[1 - #[[1]] #[[2]]]} &, {Floor[1/(A - Floor[A])], A - Floor[A]}, n - 1]]; PierceExp[N[Tan[1] , 7!], 50]
CROSSREFS
KEYWORD
nonn
AUTHOR
G. C. Greubel, Dec 25 2016
STATUS
approved