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!)
A274090 a(n) = nearest integer to n^2 * cos(sqrt(n)). 12
0, 1, 1, -1, -7, -15, -28, -43, -61, -80, -100, -119, -137, -151, -162, -167, -167, -161, -147, -125, -95, -57, -11, 44, 107, 177, 255, 339, 429, 524, 623, 725, 830, 935, 1040, 1143, 1244, 1342, 1434, 1520, 1599, 1669, 1730, 1780, 1819, 1845, 1858, 1857, 1841, 1810, 1763, 1700, 1621, 1525 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
N. J. A. Sloane and Chai Wah Wu, Table of n, a(n) for n = 0..10000 n = 0..1000 from N. J. A. Sloane.
MAPLE
Digits:=50: f:=n->round(evalf(n^2*cos(sqrt(n)))); [seq(f(n), n=0..120)];
PROG
(Python)
from sympy import cos, sqrt
def A274090(n):
return int((n**2*cos(sqrt(n))).round()) # Chai Wah Wu, Jun 11 2016
CROSSREFS
Sequence in context: A146624 A239934 A193553 * A195041 A229462 A302125
KEYWORD
sign
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 14 23:22 EDT 2024. Contains 372535 sequences. (Running on oeis4.)