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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A084794 a(n) = floor( 1/frac(n*Pi/4) ). 0
 1, 1, 2, 7, 1, 1, 2, 3, 14, 1, 1, 2, 4, 1, 1, 1, 2, 7, 1, 1, 2, 3, 15, 1, 1, 2, 4, 1, 1, 1, 2, 7, 1, 1, 2, 3, 16, 1, 1, 2, 4, 1, 1, 1, 2, 7, 1, 1, 2, 3, 18, 1, 1, 2, 5, 1, 1, 1, 2, 8, 1, 1, 2, 3, 19, 1, 1, 2, 5, 1, 1, 1, 2, 8, 1, 1, 2, 3, 21, 1, 1, 2, 5, 1, 1, 1, 3, 8, 1, 1, 2, 3, 23, 1, 1, 2, 5, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS MATHEMATICA Table[Floor[1/FractionalPart[n*Pi/4]], {n, 100}] (* Harvey P. Dale, Aug 30 2013 *) PROG (PARI) x=(Pi/4); for(n=1, 60, t=floor( 1/frac(n*x) ); print1(t", ")) CROSSREFS Sequence in context: A021373 A199950 A011047 * A116691 A225592 A258715 Adjacent sequences:  A084791 A084792 A084793 * A084795 A084796 A084797 KEYWORD nonn AUTHOR Paul D. Hanna, Jun 03 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.

Last modified May 26 18:08 EDT 2020. Contains 334630 sequences. (Running on oeis4.)