login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172264 a(n) = floor(n*(sqrt(3)-sqrt(2))). 14

%I #13 Sep 08 2022 08:45:50

%S 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,

%T 10,10,11,11,11,12,12,12,13,13,13,13,14,14,14,15,15,15,16,16,16,17,17,

%U 17,18,18,18,19,19,19,20,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25

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

%H Vincenzo Librandi, <a href="/A172264/b172264.txt">Table of n, a(n) for n = 0..1000</a>

%t With[{c = Sqrt[3] - Sqrt[2]}, Floor[c Range[0, 100]]] (* _Vincenzo Librandi_, Aug 01 2013 *)

%o (Magma) [Floor(n*(Sqrt(3)-Sqrt(2))): n in [0..80]]; // _Vincenzo Librandi_, Aug 01 2013

%o (PARI) for(n=0,50, print1(floor(n*(sqrt(3)-sqrt(2))), ", ")) \\ _G. C. Greubel_, Jul 05 2017

%Y Cf. A172266-A172270, A172272-A172278.

%K nonn,easy

%O 0,8

%A _Vincenzo Librandi_, Jan 30 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 02:34 EDT 2024. Contains 372203 sequences. (Running on oeis4.)