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.

Showing 1-1 of 1 results.

A184743 a(n) = floor(n*s + (s-1)/2), where s = sqrt(Pi)/(sqrt(Pi)-1).

Original entry on oeis.org

2, 5, 7, 9, 12, 14, 16, 19, 21, 23, 25, 28, 30, 32, 35, 37, 39, 41, 44, 46, 48, 51, 53, 55, 58, 60, 62, 64, 67, 69, 71, 74, 76, 78, 80, 83, 85, 87, 90, 92, 94, 97, 99, 101, 103, 106, 108, 110, 113, 115, 117, 119, 122, 124, 126, 129, 131, 133, 136, 138, 140, 142, 145, 147, 149, 152, 154, 156, 158, 161, 163, 165, 168, 170, 172, 175, 177, 179
Offset: 1

Views

Author

Clark Kimberling, Jan 20 2011

Keywords

Crossrefs

Cf. A184742 (numbers not in present sequence).

Programs

  • Mathematica
    r=Pi^(1/2); h=-1/2; s=r/(r-1);
    Table[Floor[n*r+h],{n,1,120}]  (* A184242 *)
    Table[Floor[n*s+h-h*s],{n,1,120}]  (* A184243 *)
  • PARI
    for(n=1,25, print1(floor((n+1/2)*(sqrt(Pi)/(sqrt(Pi) - 1)) - 1/2), ", ")) \\ G. C. Greubel, Jan 09 2017

Extensions

Edited by N. J. A. Sloane, Dec 30 2024
Showing 1-1 of 1 results.