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

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

%S 0,3,5,7,9,11,14,16,18,20,22,24,27,29,31,33,35,37,40,42,44,46,48,50,

%T 53,55,57,59,61,63,66,68,70,72,74,77,79,81,83,85,87,90,92,94,96,98,

%U 100,103,105,107,109,111,113,116,118,120,122,124,126,129,131,133,135

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

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

%F a(n) = A008587(n) - A022842(n). - _Michel Marcus_, Oct 31 2017

%t Table[5*n - Floor[2*n*sqrt(2)], {n, 0, 50}] (* _G. C. Greubel_, Oct 31 2017 *)

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

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

%Y Cf. A008587, A022842.

%K nonn

%O 0,2

%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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)