A172278 a(n) = floor(n*(sqrt(13)-sqrt(2))).
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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Crossrefs
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
Comments