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

A198272 a(n) = round(n*sqrt(17)).

Original entry on oeis.org

0, 4, 8, 12, 16, 21, 25, 29, 33, 37, 41, 45, 49, 54, 58, 62, 66, 70, 74, 78, 82, 87, 91, 95, 99, 103, 107, 111, 115, 120, 124, 128, 132, 136, 140, 144, 148, 153, 157, 161, 165, 169, 173, 177, 181, 186, 190, 194, 198, 202, 206, 210, 214, 219
Offset: 0

Views

Author

Vincenzo Librandi, Oct 25 2011

Keywords

Crossrefs

Programs

  • Magma
    [Round(n*Sqrt(17)): n in [0..60]];
  • Mathematica
    Round[Range[0,60]Sqrt[17]] (* Harvey P. Dale, Nov 29 2022 *)

A198395 a(n) = ceiling(n*sqrt(17)).

Original entry on oeis.org

0, 5, 9, 13, 17, 21, 25, 29, 33, 38, 42, 46, 50, 54, 58, 62, 66, 71, 75, 79, 83, 87, 91, 95, 99, 104, 108, 112, 116, 120, 124, 128, 132, 137, 141, 145, 149, 153, 157, 161, 165, 170, 174, 178, 182, 186, 190, 194, 198, 203, 207, 211, 215, 219
Offset: 0

Views

Author

Vincenzo Librandi, Oct 25 2011

Keywords

Crossrefs

Programs

  • Magma
    [Ceiling(n*Sqrt(17)): n in [0..60]]

A246170 Beatty sequence for sqrt(14).

Original entry on oeis.org

3, 7, 11, 14, 18, 22, 26, 29, 33, 37, 41, 44, 48, 52, 56, 59, 63, 67, 71, 74, 78, 82, 86, 89, 93, 97, 101, 104, 108, 112, 115, 119, 123, 127, 130, 134, 138, 142, 145, 149, 153, 157, 160, 164, 168, 172, 175, 179, 183, 187, 190, 194, 198, 202, 205, 209, 213
Offset: 1

Views

Author

Vincenzo Librandi, Aug 20 2014

Keywords

Crossrefs

Cf. Beatty sequence for sqrt(k): A001951 (k=2), A022838 (k=3), A022839 (k=5), A022840 (k=6), A022841 (k=7), A022842 (k=8), A177102 (k=10), A171982 (k=11), A194028 (k=12), A173983 (k=13), this sequence (k=14), A246171 (k=15), A171984 (k=17).

Programs

  • Magma
    [Floor(n*Sqrt(14)): n in [1..80]];
  • Mathematica
    a[n_]:=Floor[n Sqrt[14]]; Array[a, 80, 1]

Formula

a(n) = floor(n*sqrt(14)).
Showing 1-3 of 3 results.