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!)
A072631 Floor( n*log(n) ) mod n. 3
0, 1, 0, 1, 3, 4, 6, 0, 1, 3, 4, 5, 7, 8, 10, 12, 14, 16, 17, 19, 0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 16, 17, 19, 21, 22, 24, 25, 27, 29, 30, 32, 34, 36, 38, 39, 41, 43, 45, 47, 49, 51, 53, 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 21, 22, 23, 25, 26, 27, 29 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
Compare with A004648 because prime(n) ~ n * log(n).
LINKS
MATHEMATICA
Table[Floor[Mod[n*Log[n], n]], {n, 80}] (* Harvey P. Dale, Jun 29 2014 *)
PROG
(PARI) a(n)=floor(n*log(n))%n \\ Charles R Greathouse IV, Aug 01 2011
(Magma) [Floor(n*Log(n)) mod n: n in [1..100]]; // Vincenzo Librandi, Jun 30 2014
CROSSREFS
Sequence in context: A338056 A321404 A024687 * A085196 A021293 A275979
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 28 2002
STATUS
approved

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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)