login
A274087
Nearest integer to n^2*sin(n).
12
0, 1, 4, 1, -12, -24, -10, 32, 63, 33, -54, -121, -77, 71, 194, 146, -74, -278, -243, 54, 365, 369, -4, -448, -522, -83, 515, 697, 212, -558, -889, -388, 565, 1089, 612, -525, -1285, -881, 428, 1466, 1192, -267, -1617, -1538, 34, 1723, 1908, 273, -1770, -2290, -656, 1743, 2668, 1112, -1629, -3024, -1636
OFFSET
0,3
MATHEMATICA
Table[Round[n^2 Sin[n]], {n, 0, 60}] (* Harvey P. Dale, Jul 14 2017 *)
PROG
(Python)
from sympy import sin
def A274087(n):
return int((n**2*sin(n)).round()) # Chai Wah Wu, Jun 10 2016
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jun 10 2016
STATUS
approved