OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MATHEMATICA
EngelExp[A_, n_] := Join[Array[1 &, Floor[A]], First@Transpose@
NestList[{Ceiling[1/Expand[#[[1]] #[[2]] - 1]], Expand[#[[1]] #[[2]] - 1]/1} &, {Ceiling[1/(A - Floor[A])], (A - Floor[A])/1}, n - 1]]; EngelExp[N[Pi^4/90, 7!], 20] (* G. C. Greubel, Dec 26 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 03 2002
STATUS
approved