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!)
A274088 a(n) = nearest integer to n^2 * sin(sqrt(n)). 12
0, 1, 4, 9, 15, 20, 23, 23, 20, 11, -2, -21, -46, -76, -111, -150, -194, -240, -289, -339, -389, -437, -484, -527, -566, -599, -626, -645, -656, -658, -649, -630, -600, -559, -505, -440, -362, -273, -171, -58, 66, 201, 346, 501, 664, 835, 1013, 1197, 1385, 1577, 1772, 1968, 2164, 2359, 2551, 2740 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
N. J. A. Sloane and Chai Wah Wu, Table of n, a(n) for n = 0..10000 [Terms n = 0..1000 from N. J. A. Sloane].
MAPLE
Digits:=50: f:=n->round(evalf(n^2*sin(sqrt(n)))); [seq(f(n), n=0..120)];
MATHEMATICA
Table[Round[n^2 * Sin[Sqrt[n]]], {n, 0, 50}] (* G. C. Greubel, Jun 10 2016 *)
PROG
(Python)
from sympy import sin, sqrt
def A274088(n):
return int((n**2*sin(sqrt(n))).round()) # Chai Wah Wu, Jun 10 2016
CROSSREFS
Sequence in context: A313222 A313223 A161436 * A313224 A313225 A313226
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 07:06 EDT 2024. Contains 372926 sequences. (Running on oeis4.)