login
a(n) = ceiling(e^(n*Pi)).
4

%I #23 Sep 08 2022 08:45:27

%S 1,24,536,12392,286752,6635624,153552936,3553321281,82226315586,

%T 1902773895293,44031505860633,1018919543279305,23578503968558227,

%U 545622913077172101,12626092124920479898,292176517015939695008

%N a(n) = ceiling(e^(n*Pi)).

%H Vincenzo Librandi, <a href="/A121905/b121905.txt">Table of n, a(n) for n = 0..699</a> [Offset shifted by _Georg Fischer_, Sep 02 2022]

%t Ceiling[E^(Pi Range[0, 20])] (* _Vincenzo Librandi_, Feb 21 2013 *)

%o (PARI) for(n=0,50, print1(ceil(exp(Pi*n)), ", ")) \\ _G. C. Greubel_, Nov 06 2017

%o (Magma) C<i> := ComplexField(); [Ceiling(Exp(Pi(C)*n)): n in [0..50]]; // _G. C. Greubel_, Nov 06 2017

%Y Cf. A062360 (floor).

%Y Cf. A121854, A121855, A121856, A121857, A121904.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Sep 01 2006

%E Offset changed to 0 by _Georg Fischer_, Sep 02 2022