login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182766 Beatty sequence for 5 - 2*sqrt(2). 2
2, 4, 6, 8, 10, 13, 15, 17, 19, 21, 23, 26, 28, 30, 32, 34, 36, 39, 41, 43, 45, 47, 49, 52, 54, 56, 58, 60, 62, 65, 67, 69, 71, 73, 76, 78, 80, 82, 84, 86, 89, 91, 93, 95, 97, 99, 102, 104, 106, 108, 110, 112, 115, 117, 119, 121, 123, 125, 128, 130, 132, 134, 136, 138, 141, 143, 145, 147, 149, 152, 154, 156, 158, 160, 162, 165, 167 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Let u=(1+sqrt(2))/2 and v=sqrt(2). Jointly rank {ju} and {kv} as in the first comment at A182760; a(n) is the position of nv. A182766 is the complement of A182765.

LINKS

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

Index entries for sequences related to Beatty sequences

FORMULA

a(n) = floor(s*n), where s = 5 - 2*sqrt(2).

MATHEMATICA

Table[Floor[n*(5 - 2*Sqrt[2])], {n, 1, 100}] (* G. C. Greubel, Aug 18 2018 *)

PROG

(MAGMA) [Floor(n*(5-2*Sqrt(2))): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011

(PARI) vector(100, n, floor(n*(5-2*sqrt(2)))) \\ G. C. Greubel, Aug 18 2018

CROSSREFS

Cf. A182760, A182765.

Sequence in context: A085884 A246404 A246408 * A329828 A172278 A276383

Adjacent sequences:  A182763 A182764 A182765 * A182767 A182768 A182769

KEYWORD

nonn

AUTHOR

Clark Kimberling, Nov 29 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 30 11:07 EST 2021. Contains 349419 sequences. (Running on oeis4.)