The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062511 a(n) = round(exp(n * Pi)). 1

%I #18 Sep 08 2022 08:45:03

%S 1,23,535,12392,286751,6635624,153552935,3553321281,82226315586,

%T 1902773895292,44031505860632,1018919543279305,23578503968558226,

%U 545622913077172100,12626092124920479898,292176517015939695007

%N a(n) = round(exp(n * Pi)).

%H Harry J. Smith, <a href="/A062511/b062511.txt">Table of n, a(n) for n = 0..100</a>

%t Round[Exp[Range[0,20]Pi]] (* _Harvey P. Dale_, Oct 06 2014 *)

%o (PARI) for(n=0,21,print1(round(exp(n*Pi)), ", "))

%o (PARI) { default(realprecision, 200); for (n=0, 100, write("b062511.txt", n, " ", round(exp(n*Pi))) ) } \\ _Harry J. Smith_, Aug 08 2009

%o (Magma) C<i> := ComplexField(); [Round(Exp(n*Pi(C))): n in [0..30]]; // _G. C. Greubel_, Jan 15 2018

%Y Cf. A062360, A121905.

%K easy,nonn

%O 0,2

%A _Jason Earls_, Jun 24 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 11:00 EDT 2024. Contains 372981 sequences. (Running on oeis4.)