login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A195177 a(n) = 3*n - floor(2*n*sqrt(2)). 1
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, 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, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

LINKS

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

FORMULA

a(n) = 3*n - A022842(n). - R. J. Mathar, Jan 10 2013

MATHEMATICA

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

PROG

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

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

CROSSREFS

Sequence in context: A152467 A242602 A097992 * A147583 A054895 A194699

Adjacent sequences:  A195174 A195175 A195176 * A195178 A195179 A195180

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 January 17 09:32 EST 2020. Contains 330949 sequences. (Running on oeis4.)