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]} &, {Ceiling[1/(A - Floor[A])], A - Floor[A]}, n - 1]]; EngelExp[N[Sqrt[Pi/2], 7!], 50] (* G. C. Greubel, Jan 12 2017 *)
PROG
(PARI) : s=sqrt(asin(1)); for(i=1, 30, s=s*ceil(1/s)-1; print1(ceil(1/s), ", "); );
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 03 2002
STATUS
approved