login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A272695 Nearest integer to n*sin(n). 13
0, 1, 2, 0, -3, -5, -2, 5, 8, 4, -5, -11, -6, 5, 14, 10, -5, -16, -14, 3, 18, 18, 0, -19, -22, -3, 20, 26, 8, -19, -30, -13, 18, 33, 18, -15, -36, -24, 11, 38, 30, -7, -38, -36, 1, 38, 41, 6, -37, -47, -13, 34, 51, 21, -30, -55, -29, 25, 58, 38, -18, -59, -46, 11, 59, 54, -2, -57, -61, -8, 54, 68, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Felix Fröhlich, Table of n, a(n) for n = 0..10000

MAPLE

f:=n->round(evalf(n*sin(n)));  [seq(f(n), n=0..140)];

PROG

(PARI) a(n) = round(n*sin(n)) \\ Felix Fröhlich, Jun 10 2016

(Python)

from sympy import sin

def A272695(n):

    return int((n*sin(n)).round()) # Chai Wah Wu, Jun 10 2016

CROSSREFS

Sequences of the same type: A272695, A274086, A274087, A274088, A274090, A274091, A274092, A274095, A274096, A274097, A274101, A274102.

Sequence in context: A038072 A215482 A161481 * A196503 A061151 A249774

Adjacent sequences:  A272692 A272693 A272694 * A272696 A272697 A272698

KEYWORD

sign,look

AUTHOR

N. J. A. Sloane, Jun 10 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 04:36 EDT 2021. Contains 343059 sequences. (Running on oeis4.)