login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079037 a(0)=1; a(n) is the smallest integer > a(n-1) such that sin(a(n)) is closer to an integer (here 0 or -1) than sin(a(n-1)). 1
1, 3, 5, 11, 344, 1054, 1764, 2474, 3184, 3894, 4604, 5314, 6024, 6734, 7444, 8154, 8864, 9574, 10284, 10994, 11704, 12414, 13124, 13834, 14544, 15254, 15964, 16674, 17384, 18094, 18804, 19514, 20224, 20934, 21644, 22354, 23064, 23774, 24484 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..38.

EXAMPLE

sin(1)=0.84147..., sin(2)=0.90929..., sin(3)=0.14112..., hence a(2)=3

PROG

(PARI) x=1; y=1; a(n)=if(n<0, 0, b=y+1; while(frac(sin(b))>frac(sin(x)), b++); x=b; y=b; b)

CROSSREFS

Cf. A046947 ( for abs(sin(x)) ).

Sequence in context: A231017 A038198 A280876 * A281087 A101315 A320433

Adjacent sequences:  A079034 A079035 A079036 * A079038 A079039 A079040

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Feb 01 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 17 12:14 EST 2020. Contains 331996 sequences. (Running on oeis4.)