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-10 of 12 results. Next

A172278 a(n) = floor(n*(sqrt(13)-sqrt(2))).

Original entry on oeis.org

0, 2, 4, 6, 8, 10, 13, 15, 17, 19, 21, 24, 26, 28, 30, 32, 35, 37, 39, 41, 43, 46, 48, 50, 52, 54, 56, 59, 61, 63, 65, 67, 70, 72, 74, 76, 78, 81, 83, 85, 87, 89, 92, 94, 96, 98, 100, 102, 105, 107, 109, 111, 113, 116, 118, 120, 122, 124, 127, 129, 131, 133, 135, 138, 140
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Comments

This is the Beatty sequence for the constant 2.19133771309089424431753254326...

Crossrefs

Similar to but strictly different from A276383.

Programs

  • Magma
    [Floor(n*(Sqrt(13)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 02 2013
    
  • Maple
    A172278 := proc(n)
        floor(n*(sqrt(13)-sqrt(2))) ;
    end proc:
    seq(A172278(n),n=0..30) ; # R. J. Mathar, Sep 04 2016
  • Mathematica
    With[{c = Sqrt[13] - Sqrt[2]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 02 2013 *)
  • PARI
    for(n=0, 50, print1(floor(n*(sqrt(13)-sqrt(2))), ", ")) \\ G. C. Greubel, Jul 05 2017

A172264 a(n) = floor(n*(sqrt(3)-sqrt(2))).

Original entry on oeis.org

0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(3)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
    
  • Mathematica
    With[{c = Sqrt[3] - Sqrt[2]}, Floor[c Range[0, 100]]] (* Vincenzo Librandi, Aug 01 2013 *)
  • PARI
    for(n=0,50, print1(floor(n*(sqrt(3)-sqrt(2))), ", ")) \\ G. C. Greubel, Jul 05 2017

A172272 a(n) = floor(n*(sqrt(11)-sqrt(3))).

Original entry on oeis.org

0, 1, 3, 4, 6, 7, 9, 11, 12, 14, 15, 17, 19, 20, 22, 23, 25, 26, 28, 30, 31, 33, 34, 36, 38, 39, 41, 42, 44, 45, 47, 49, 50, 52, 53, 55, 57, 58, 60, 61, 63, 64, 66, 68, 69, 71, 72, 74, 76, 77, 79, 80, 82, 83, 85, 87, 88, 90, 91, 93, 95, 96, 98, 99, 101, 102, 104, 106, 107
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(11)-Sqrt(3))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
  • Mathematica
    With[{c = Sqrt[11] - Sqrt[3]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)

A172266 a(n) = floor(n*(sqrt(5)-sqrt(2))).

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 9, 10, 11, 12, 13, 13, 14, 15, 16, 17, 18, 18, 19, 20, 21, 22, 23, 23, 24, 25, 26, 27, 27, 28, 29, 30, 31, 32, 32, 33, 34, 35, 36, 36, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 50, 51, 52, 53, 54, 55, 55, 56, 57, 58, 59, 59
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

A172267 a(n) = floor(n*(sqrt(7)-sqrt(5))).

Original entry on oeis.org

0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 15, 16, 16, 17, 17, 18, 18, 18, 19, 19, 20, 20, 20, 21, 21, 22, 22, 22, 23, 23, 24, 24, 24, 25, 25, 26, 26, 27, 27, 27, 28, 28, 29, 29, 29, 30, 30, 31, 31
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(7)-Sqrt(5))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
  • Mathematica
    With[{c = Sqrt[7] - Sqrt[5]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)

A172269 a(n) = floor(n*(sqrt(7)-sqrt(2))).

Original entry on oeis.org

0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 20, 22, 23, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81, 82, 83, 84, 86, 87
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(7)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
    
  • Mathematica
    With[{c = Sqrt[7] - Sqrt[2]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)
  • PARI
    vector(100,n,n--; floor(n*(sqrt(7)-sqrt(2)))) \\ G. C. Greubel, Aug 17 2018

A172273 a(n) = floor(n*(sqrt(11) - sqrt(2))).

Original entry on oeis.org

0, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 117, 119, 121, 123, 125
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Comments

Initially similar to A038124 because sqrt(11)-sqrt(2) = 1.90241122... is close to A065421. - R. J. Mathar, Feb 05 2010

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(11)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
    
  • Mathematica
    With[{c = Sqrt[11] - Sqrt[2]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)
  • PARI
    vector(100, n, n--; floor(n*(sqrt(11) - sqrt(2)))) \\ G. C. Greubel, Aug 18 2018

A172277 floor(n*(sqrt(13)-sqrt(3))).

Original entry on oeis.org

0, 1, 3, 5, 7, 9, 11, 13, 14, 16, 18, 20, 22, 24, 26, 28, 29, 31, 33, 35, 37, 39, 41, 43, 44, 46, 48, 50, 52, 54, 56, 58, 59, 61, 63, 65, 67, 69, 71, 73, 74, 76, 78, 80, 82, 84, 86, 88, 89, 91, 93, 95, 97, 99, 101, 103, 104, 106, 108, 110, 112, 114, 116, 118, 119, 121, 123
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

A172268 a(n) = floor(n*(sqrt(7)-sqrt(3))).

Original entry on oeis.org

0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 63, 64, 65
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Comments

Differs from the Beatty sequence of the Catalan constant A006752 first at n=35. - R. J. Mathar, May 22 2019

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(7)-Sqrt(3))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
  • Mathematica
    With[{c=Sqrt[7]-Sqrt[3]},Floor[c*Range[0,80]]] (* Harvey P. Dale, Nov 20 2012 *)

A172274 a(n) = floor(n*(sqrt(13)-sqrt(11))).

Original entry on oeis.org

0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 23
Offset: 0

Views

Author

Vincenzo Librandi, Jan 30 2010

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*(Sqrt(13)-Sqrt(11))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
  • Mathematica
    With[{c = Sqrt[13] - Sqrt[11]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)

Formula

a(n) = floor(n*(A010470 - A010468)). - Rick L. Shepherd, Jun 17 2010

Extensions

Edited by Rick L. Shepherd, Jun 17 2010
Showing 1-10 of 12 results. Next