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!)
A274102 a(n) = nearest integer to k*sin(sqrt(k)+j*Pi) where n = 2*k+j, j=0 or 1. 12
0, 0, 1, -1, 2, -2, 3, -3, 4, -4, 4, -4, 4, -4, 3, -3, 2, -2, 1, -1, 0, 0, -2, 2, -4, 4, -6, 6, -8, 8, -10, 10, -12, 12, -14, 14, -16, 16, -18, 18, -19, 19, -21, 21, -22, 22, -23, 23, -24, 24, -24, 24, -24, 24, -24, 24, -23, 23, -23, 23, -22, 22, -20, 20, -19, 19, -17, 17, -15, 15, -13, 13, -10, 10, -7 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

N. J. A. Sloane, Table of n, a(n) for n = 0..10000

FORMULA

a(2n) = A274095(n), a(2n+1) = -A274095(n). - Chai Wah Wu, Jun 11 2016

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)));

end;

[seq(ft(n, 2), n=0..120)];

CROSSREFS

Sequences of the same type: A272695, A274086, A274087, A274088, A274090, A274091, A274092, A274095, A274096, A274097, A274101, A274102.

Sequence in context: A349393 A341155 A341166 * A261100 A130249 A286105

Adjacent sequences: A274099 A274100 A274101 * A274103 A274104 A274105

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 February 28 02:53 EST 2023. Contains 360713 sequences. (Running on oeis4.)