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!)
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
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
Sequence in context: A020659 A047304 A020658 * A043092 A023801 A332107
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)