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!)
A195177 a(n) = 3*n - floor(2*n*sqrt(2)). 1

%I #14 Sep 08 2022 08:45:59

%S 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,

%T 6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,

%U 11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15

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

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

%F a(n) = 3*n - A022842(n). - _R. J. Mathar_, Jan 10 2013

%t With[{c=2*Sqrt[2]},Table[3*n-Floor[c*n],{n,0,50}]] (* _G. C. Greubel_, Oct 31 2017 *)

%o (Magma) [3*n-Floor(2*n*(Sqrt(2))): n in [0..70]]; // _Vincenzo Librandi_, Sep 12 2011

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

%K nonn

%O 0,7

%A _Clark Kimberling_, Sep 10 2011

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 April 23 01:19 EDT 2024. Contains 371906 sequences. (Running on oeis4.)