login
Integer nearest nx, where x = sqrt(6).
2

%I #11 Sep 08 2022 08:44:46

%S 0,2,5,7,10,12,15,17,20,22,24,27,29,32,34,37,39,42,44,47,49,51,54,56,

%T 59,61,64,66,69,71,73,76,78,81,83,86,88,91,93,96,98,100,103,105,108,

%U 110,113,115,118,120,122,125,127,130,132,135,137,140,142,145,147

%N Integer nearest nx, where x = sqrt(6).

%H Vincenzo Librandi, <a href="/A022849/b022849.txt">Table of n, a(n) for n = 0..10000</a>

%t Table[Round[n*Sqrt[6]], {n,0,60}] (* _G. C. Greubel_, Sep 29 2018 *)

%o (Magma) [Round(n*Sqrt(6)): n in [0..60]]; // _Vincenzo Librandi_, Oct 22 2011

%o (PARI) vector(60, n, n--; round(n*sqrt(6))) \\ _G. C. Greubel_, Sep 29 2018

%K nonn,easy

%O 0,2

%A _Clark Kimberling_