login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091087 a(n) = floor(r*n) + floor(n/r), where r=sqrt(2). 3
0, 1, 3, 6, 7, 10, 12, 13, 16, 18, 21, 22, 24, 27, 28, 31, 33, 36, 37, 39, 42, 43, 46, 48, 49, 52, 54, 57, 58, 61, 63, 64, 67, 69, 72, 73, 75, 78, 79, 82, 84, 85, 88, 90, 93, 94, 97, 99, 100, 103, 105, 108, 109, 111, 114, 115, 118, 120, 123, 124, 126, 129, 130, 133, 135 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..10000

MATHEMATICA

Table[Floor[n*Sqrt[2]] + Floor[n/Sqrt[2]], {n, 0, 100}] (* G. C. Greubel, Sep 27 2018 *)

PROG

(PARI) vector(100, n, n--; floor(n*sqrt(2)) + floor(n/sqrt(2))) \\ G. C. Greubel, Sep 27 2018

(Magma) [Floor(n*Sqrt(2)) + Floor(n/Sqrt(2)): n in [0..100]]; // G. C. Greubel, Sep 27 2018

CROSSREFS

Cf. A049473.

Sequence in context: A211969 A173059 A189387 * A138622 A080147 A192593

Adjacent sequences: A091084 A091085 A091086 * A091088 A091089 A091090

KEYWORD

nonn

AUTHOR

Clark Kimberling, Dec 18 2003

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 December 1 05:02 EST 2022. Contains 358454 sequences. (Running on oeis4.)