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.

A215247 A Beatty sequence: a(n) = floor((n-1/2)*(2 + 2*sqrt(2))).

Original entry on oeis.org

2, 7, 12, 16, 21, 26, 31, 36, 41, 45, 50, 55, 60, 65, 70, 74, 79, 84, 89, 94, 98, 103, 108, 113, 118, 123, 127, 132, 137, 142, 147, 152, 156, 161, 166, 171, 176, 181, 185, 190, 195, 200, 205, 210, 214, 219, 224, 229, 234, 239, 243, 248, 253, 258, 263, 267, 272, 277, 282, 287, 292, 296, 301, 306
Offset: 1

Views

Author

Alexander Riasanovsky, Aug 10 2012

Keywords

Crossrefs

Bisection of A003151.

Programs

  • Magma
    [Floor((2*n - 1)*(1 + Sqrt(2))): n in [1..100]] // G. C. Greubel, Oct 05 2018
  • Maple
    seq(floor((n-1/2)*(2+2*sqrt(2))),n=1..70); # Muniru A Asiru, Oct 07 2018
  • Mathematica
    Table[Floor[(2*n - 1)*(1 + Sqrt[2])], {n, 1, 100}] (* G. C. Greubel, Oct 05 2018 *)
  • PARI
    vector(100, n, floor((2*n - 1)*(1 + sqrt(2)))) \\ G. C. Greubel, Oct 05 2018
    
  • Sage
    [floor((n-1/2)*(2+2*sqrt(2))) for n in range(1, 65)]