login
Engel expansion of exp(e).
0

%I #8 Mar 28 2015 21:56:44

%S 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,7,13,27,45,212,388,735,3422,3913,11095,

%T 18232,20624,54745,426826,617936,3424833,3494454,3664162,5238283,

%U 5650352,17373150,168850488,716822623,729646247,1226034011,3976121167

%N Engel expansion of exp(e).

%t 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[E^E, 2^8], 26] (* _Robert G. Wilson v_, Jul 28 2008 *)

%Y Cf. A073226.

%K nonn

%O 1,16

%A _Gerald McGarvey_, Jul 25 2004

%E Edited and extended by _Robert G. Wilson v_, Jul 28 2004