login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119380 Remainder when the integer part of e^n is divided by the n-th prime number. 0
0, 1, 0, 5, 5, 0, 8, 16, 7, 15, 13, 28, 23, 23, 26, 24, 57, 57, 62, 43, 70, 49, 36, 64, 84, 3, 4, 64, 83, 103, 45, 53, 49, 37, 26, 19, 75, 20, 147, 20, 134, 73, 56, 17, 31, 89, 143, 200, 103, 170, 25, 37, 159, 181, 90, 242, 16, 93, 222, 163, 57, 132, 214, 71, 164, 57, 62, 14 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

FORMULA

a(n)=mod(int(e^n),prime(n))

EXAMPLE

The sixth term is 0 because e^6 is 403.42879... and 403 is a multiple of 13, the sixth prime.

MATHEMATICA

Table[Mod[Floor[E^n], Prime[n]], {n, 1, 100}] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jul 26 2006

CROSSREFS

Sequence in context: A200257 A200516 A144184 * A121212 A182787 A133337

Adjacent sequences:  A119377 A119378 A119379 * A119381 A119382 A119383

KEYWORD

easy,nonn,less

AUTHOR

Axel Harvey (ax(AT)hirsig.ca), Jul 24 2006

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jul 26 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 10:43 EST 2012. Contains 205614 sequences.