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!)
A120728 a(n) = floor(e^n) modulo 3. 0

%I #13 Dec 18 2022 08:41:55

%S 2,1,2,0,1,1,1,1,0,0,0,1,0,0,1,2,2,1,0,2,2,2,1,1,1,2,2,0,2,1,2,0,2,1,

%T 1,2,2,2,1,0,1,2,0,2,1,0,0,0,2,1

%N a(n) = floor(e^n) modulo 3.

%C This sequence is not unique to e; there are infinitely many numbers x such that mod(floor(x^n), 3) will produce the same sequence. - Franklin T. Adams-Watters, Sep 29 2011.

%t Table[Mod[Floor[Exp[n]], 3], {n, 1, 50}]

%t Table[Floor[Exp[n]] - 3*Floor[Exp[n]/3], {n, 1, 50}]

%K nonn,less

%O 1,1

%A _Roger L. Bagula_, Aug 19 2006

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 26 23:01 EDT 2024. Contains 372847 sequences. (Running on oeis4.)