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!)
A274101 a(n) = nearest integer to k*sin(sqrt(k)+j*Pi/2) where n = 4*k+j, 0<=j<4. 12
0, 0, 0, 0, 1, 1, -1, -1, 2, 0, -2, 0, 3, 0, -3, 0, 4, -2, -4, 2, 4, -3, -4, 3, 4, -5, -4, 5, 3, -6, -3, 6, 2, -8, -2, 8, 1, -9, -1, 9, 0, -10, 0, 10, -2, -11, 2, 11, -4, -11, 4, 11, -6, -12, 6, 12, -8, -12, 8, 12, -10, -11, 10, 11, -12, -10, 12, 10, -14, -9, 14, 9, -16, -8, 16, 8, -18, -7, 18, 7, -19, -5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
LINKS
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, 4), n=0..120)];
CROSSREFS
Sequence in context: A322996 A242096 A284965 * A117773 A363824 A025805
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jun 11 2016
EXTENSIONS
Definition corrected by N. J. A. Sloane, Jun 20 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 March 28 14:13 EDT 2024. Contains 371254 sequences. (Running on oeis4.)