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.

A184742 a(n) = floor(n*r + h), where r = sqrt(Pi), h = -1/2.

Original entry on oeis.org

1, 3, 4, 6, 8, 10, 11, 13, 15, 17, 18, 20, 22, 24, 26, 27, 29, 31, 33, 34, 36, 38, 40, 42, 43, 45, 47, 49, 50, 52, 54, 56, 57, 59, 61, 63, 65, 66, 68, 70, 72, 73, 75, 77, 79, 81, 82, 84, 86, 88, 89, 91, 93, 95, 96, 98, 100, 102, 104, 105, 107, 109, 111, 112, 114, 116, 118, 120, 121, 123, 125, 127, 128, 130, 132, 134, 135, 137, 139, 141, 143, 144
Offset: 1

Views

Author

Clark Kimberling, Jan 20 2011

Keywords

Comments

Complement of A184743.

Crossrefs

Cf. A184743.

Programs

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