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!)
A172278 a(n) = floor(n*(sqrt(13)-sqrt(2))). 15
0, 2, 4, 6, 8, 10, 13, 15, 17, 19, 21, 24, 26, 28, 30, 32, 35, 37, 39, 41, 43, 46, 48, 50, 52, 54, 56, 59, 61, 63, 65, 67, 70, 72, 74, 76, 78, 81, 83, 85, 87, 89, 92, 94, 96, 98, 100, 102, 105, 107, 109, 111, 113, 116, 118, 120, 122, 124, 127, 129, 131, 133, 135, 138, 140 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
This is the Beatty sequence for the constant 2.19133771309089424431753254326...
LINKS
MAPLE
A172278 := proc(n)
floor(n*(sqrt(13)-sqrt(2))) ;
end proc:
seq(A172278(n), n=0..30) ; # R. J. Mathar, Sep 04 2016
MATHEMATICA
With[{c = Sqrt[13] - Sqrt[2]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 02 2013 *)
PROG
(Magma) [Floor(n*(Sqrt(13)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 02 2013
(PARI) for(n=0, 50, print1(floor(n*(sqrt(13)-sqrt(2))), ", ")) \\ G. C. Greubel, Jul 05 2017
CROSSREFS
Similar to but strictly different from A276383.
Sequence in context: A246408 A182766 A329828 * A276383 A094390 A186289
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 30 2010
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 March 18 22:50 EDT 2024. Contains 370951 sequences. (Running on oeis4.)