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.

A108589 a(n) = floor(n*Pi/(Pi-2)).

Original entry on oeis.org

2, 5, 8, 11, 13, 16, 19, 22, 24, 27, 30, 33, 35, 38, 41, 44, 46, 49, 52, 55, 57, 60, 63, 66, 68, 71, 74, 77, 79, 82, 85, 88, 90, 93, 96, 99, 101, 104, 107, 110, 112, 115, 118, 121, 123, 126, 129, 132, 134, 137, 140, 143, 145, 148, 151, 154, 156, 159, 162, 165, 167
Offset: 1

Views

Author

Reinhard Zumkeller, Jun 11 2005

Keywords

Comments

Beatty sequence for Pi/(Pi-2); complement of A140758.

Crossrefs

Programs

  • Magma
    R:= RealField(40); [Floor(n*Pi(R)/(Pi(R)-2)): n in [1..60]]; // G. C. Greubel, Oct 21 2023
    
  • Maple
    A108589:=n->floor(n*Pi/(Pi-2)); seq(A108589(n), n=1..50); # Wesley Ivan Hurt, Apr 19 2014
  • Mathematica
    With[{c=Pi/(Pi-2)},Floor[c*Range[70]]] (* Harvey P. Dale, Apr 19 2014 *)
  • SageMath
    [floor(n*pi/(pi-2)) for n in range(1,61)] # G. C. Greubel, Oct 21 2023