cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274087 Nearest integer to n^2*sin(n).

This page as a plain text file.
%I A274087 #13 Jul 14 2017 14:21:33
%S A274087 0,1,4,1,-12,-24,-10,32,63,33,-54,-121,-77,71,194,146,-74,-278,-243,
%T A274087 54,365,369,-4,-448,-522,-83,515,697,212,-558,-889,-388,565,1089,612,
%U A274087 -525,-1285,-881,428,1466,1192,-267,-1617,-1538,34,1723,1908,273,-1770,-2290,-656,1743,2668,1112,-1629,-3024,-1636
%N A274087 Nearest integer to n^2*sin(n).
%H A274087 Chai Wah Wu, <a href="/A274087/b274087.txt">Table of n, a(n) for n = 0..10000</a>
%t A274087 Table[Round[n^2 Sin[n]],{n,0,60}] (* _Harvey P. Dale_, Jul 14 2017 *)
%o A274087 (Python)
%o A274087 from sympy import sin
%o A274087 def A274087(n):
%o A274087     return int((n**2*sin(n)).round()) # _Chai Wah Wu_, Jun 10 2016
%Y A274087 Sequences of the same type: A272695, A274086, A274087, A274088, A274090, A274091, A274092, A274095, A274096, A274097, A274101, A274102.
%K A274087 sign
%O A274087 0,3
%A A274087 _N. J. A. Sloane_, Jun 10 2016