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-2 of 2 results.

A059656 First differences of A059655.

Original entry on oeis.org

4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 6, 4, 4, 4, 4, 6, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 10, 4, 4, 4, 6, 4, 4, 4, 6, 4, 4, 4, 4
Offset: 1

Views

Author

Antti Karttunen, Feb 03 2001

Keywords

A059652 a(n) = [[(k^2)*n]-(k*[k*n])], where k = sqrt(3/2) and [] is the floor function.

Original entry on oeis.org

0, -1, 0, 0, 1, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0
Offset: 0

Views

Author

Antti Karttunen, Feb 03 2001

Keywords

Comments

The values of (floor((k^2)*j)-(k*(floor(k*j)))) for j=0..45, with k=2^(1/3), are 0, -0.224746, 0.550508, 0.325762, 1.101016, -0.348476, 0.426778, 0.202032, 0.97729, ...

Crossrefs

A059648 gives similar sequence for k=sqrt(2). Positions of ones: A059653, positions of minus ones: A059655.

Programs

  • Maple
    Digits := 89; floor_diffs_floored(sqrt(3/2),120);
Showing 1-2 of 2 results.