%I #9 Dec 26 2016 13:30:24
%S 1,2,3,6,8,12,13,15,17,19,1063,1155,2574,2662,3595,3723,4370,21530,
%T 28927,32662,73255,92895,5133189,13626701,17852908,392678721,
%U 715595109,3993107840,39941257169,43578446054,1686996293054,4244526044926,78467829696572,111290944386765
%N Pierce Expansion of cot(1).
%H G. C. Greubel, <a href="/A280094/b280094.txt">Table of n, a(n) for n = 0..1000</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PierceExpansion.html">Pierce Expansion</a>
%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Engel_expansion">Engel Expansion</a>
%t 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[Cot[1] , 7!], 50]
%Y Cf. A073449 (cot(1)).
%K nonn
%O 0,2
%A _G. C. Greubel_, Dec 25 2016
|