login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A195178 a(n) = 4*n - floor(2*n*sqrt(2)). 1
0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 60, 61, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = A008586(n) - A022842(n). - Michel Marcus, Oct 31 2017

MATHEMATICA

With[{c=2Sqrt[2]}, Table[4n-Floor[c n], {n, 0, 90}]] (* Harvey P. Dale, Sep 17 2011 *)

PROG

(MAGMA) [4*n-Floor(2*n*(Sqrt(2))): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011

(PARI) for(n=0, 50, print1(4*n - floor(2*n*sqrt(2)), ", ")) \\ G. C. Greubel, Oct 30 2017

CROSSREFS

Cf. A008586, A022842.

Sequence in context: A020659 A047304 A020658 * A043092 A023801 A267305

Adjacent sequences:  A195175 A195176 A195177 * A195179 A195180 A195181

KEYWORD

nonn

AUTHOR

Clark Kimberling, Sep 10 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 21 22:19 EDT 2019. Contains 321382 sequences. (Running on oeis4.)