cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A022853 a(n) = integer nearest n*Pi.

Original entry on oeis.org

0, 3, 6, 9, 13, 16, 19, 22, 25, 28, 31, 35, 38, 41, 44, 47, 50, 53, 57, 60, 63, 66, 69, 72, 75, 79, 82, 85, 88, 91, 94, 97, 101, 104, 107, 110, 113, 116, 119, 123, 126, 129, 132, 135, 138, 141, 145, 148, 151, 154, 157, 160, 163, 167, 170, 173, 176, 179
Offset: 0

Views

Author

Keywords

Comments

Since n*Pi is an irrational number, all tie-breaking rounding methods yield the same integer sequence. - Artur Twarecki (numbers(AT)twarecki.ca), Dec 19 2006
Or around of length of oval of constant width n. - Vladimir Shevelev, Oct 07 2013

Examples

			a(100)=314 because round(100*Pi)=314.
		

References

  • V. Shevelev, On ovals of a given function of width, Intern. Geom. School-Seminar Memory N. V. Efimov, Abrau-Durso, 1996, 73-75 (Abstracts in Russian).

Crossrefs

Programs

  • Magma
    R:= RealField(10); [Round(n*Pi(R)): n in [0..60]]; // G. C. Greubel, Sep 29 2018
  • Mathematica
    Table[Round[n Pi], {n, 0, 57}] (* Michael De Vlieger, Jul 27 2015 *)
  • PARI
    vector(100, n, n--; round(n*Pi)) \\ Altug Alkan, Nov 22 2015
    

Extensions

Edited by N. J. A. Sloane, Jul 03 2008 at the suggestion of R. J. Mathar