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!)
A024584 a(n) = floor(1/frac(n*Pi)). 4
7, 3, 2, 1, 1, 1, 1, 7, 3, 2, 1, 1, 1, 1, 8, 3, 2, 1, 1, 1, 1, 8, 3, 2, 1, 1, 1, 1, 9, 4, 2, 1, 1, 1, 1, 10, 4, 2, 1, 1, 1, 1, 11, 4, 2, 1, 1, 1, 1, 12, 4, 2, 1, 1, 1, 1, 14, 4, 2, 2, 1, 1, 1, 16, 4, 2, 2, 1, 1, 1, 18, 5, 2, 2, 1, 1, 1, 22, 5, 3, 2, 1, 1, 1, 28, 5, 3, 2, 1, 1, 1, 37, 5, 3, 2, 1, 1, 1, 56, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From Hieronymus Fischer, Apr 15 2012: (Start)
The sequence is well defined, since frac(n*Pi)>0 for n>0.
Let b(n,m)=|{a(k)| 1<=k<=n, a(k)>=m}| be the number of the first n terms which are >= m >= 1.
Then, lim b(n,m)/n = 1/m for n-->oo since frac(n*pi) is uniformly distributed. (End)
LINKS
MATHEMATICA
Table[Floor[1/FractionalPart[n Pi]], {n, 100}] (* Bruno Berselli, Apr 15 2012 *)
PROG
(PARI) a(n) = floor(1/frac(n*Pi)); \\ Michel Marcus, Nov 16 2022
CROSSREFS
Sequence in context: A355674 A256843 A033327 * A132713 A262312 A135296
KEYWORD
nonn
AUTHOR
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 April 18 08:08 EDT 2024. Contains 371769 sequences. (Running on oeis4.)