OFFSET
0,3
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..10000
MAPLE
Digits:=50;
ft:=proc(n, t) local k, j; j:=(n mod t); k:=(n-j)/t;
round(evalf(k*sin(sqrt(k)+j*Pi/2))); end;
[seq(ft(n, 1), n=0..120)];
PROG
(Python)
from sympy import sin, sqrt, pi
def A274095(n, t = 1):
k, j = divmod(n, t)
return int((k*sin(sqrt(k)+j*pi/2)).round())
CROSSREFS
KEYWORD
sign,look
AUTHOR
N. J. A. Sloane, Jun 11 2016
STATUS
approved