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.

A175269 a(n) = floor(2^sqrt(n)) - floor(n^sqrt(2)).

Original entry on oeis.org

1, 1, 0, -1, -3, -5, -7, -9, -11, -14, -17, -20, -22, -25, -28, -32, -34, -37, -41, -44, -47, -51, -54, -57, -60, -62, -66, -69, -72, -75, -78, -81, -84, -87, -90, -92, -94, -98, -100, -102, -104, -106, -108, -110, -111, -113, -114, -116, -117, -117, -118
Offset: 0

Views

Author

Zak Seidov, Mar 18 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(2^Sqrt(n)) - Floor(n^Sqrt(2)): n in [0..100]]; // G. C. Greubel, Oct 02 2018
  • Mathematica
    Table[Floor[2^Sqrt[n]] - Floor[n^Sqrt[2]], {n, 0, 100}]
  • PARI
    vector(100, n, n--; floor(2^sqrt(n)) - floor(n^sqrt(2))) \\ G. C. Greubel, Oct 02 2018