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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276879 Sums-complement of the Beatty sequence for 1 + sqrt(2). 3
1, 6, 11, 18, 23, 30, 35, 40, 47, 52, 59, 64, 69, 76, 81, 88, 93, 100, 105, 110, 117, 122, 129, 134, 139, 146, 151, 158, 163, 170, 175, 180, 187, 192, 199, 204, 209, 216, 221, 228, 233, 238, 245, 250, 257, 262, 269, 274, 279, 286, 291, 298, 303, 308, 315 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

See A276871 for a definition of sums-complement and guide to related sequences.

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

Index entries for sequences related to Beatty sequences

EXAMPLE

The Beatty sequence for 1 + sqrt(2) is A003151 = (0,2,4,7,9,12,14,16,...), with difference sequence s = A276862 = (2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,...).  The sums s(j)+s(j+1)+...+s(k) include (2,3,4,5,7,8,9,12,...), with complement (1,6,11,18,23,...).

MATHEMATICA

z = 500; r = 1+Sqrt[2]; b = Table[Floor[k*r], {k, 0, z}]; (* A003151 *)

t = Differences[b]; (* A276862 *)

c[k_, n_] := Sum[t[[i]], {i, n, n + k - 1}];

u[k_] := Union[Table[c[k, n], {n, 1, z - k + 1}]];

w = Flatten[Table[u[k], {k, 1, z}]]; Complement[Range[Max[w]], w]  (* A276879 *)

CROSSREFS

Cf. A003151, A276862, A276871.

Sequence in context: A315561 A315562 A315563 * A255654 A315564 A315565

Adjacent sequences:  A276876 A276877 A276878 * A276880 A276881 A276882

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Sep 27 2016

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 February 17 21:35 EST 2020. Contains 332006 sequences. (Running on oeis4.)