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!)
A276881 Sums-complement of the Beatty sequence for 1 + sqrt(5). 4
1, 2, 5, 8, 11, 14, 15, 18, 21, 24, 27, 28, 31, 34, 37, 40, 41, 44, 47, 50, 53, 54, 57, 60, 63, 66, 69, 70, 73, 76, 79, 82, 83, 86, 89, 92, 95, 96, 99, 102, 105, 108, 109, 112, 115, 118, 121, 124, 125, 128, 131, 134, 137, 138, 141, 144, 147, 150, 151, 154 (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

Table of n, a(n) for n=1..60.

Index entries for sequences related to Beatty sequences

EXAMPLE

The Beatty sequence for 1 + sqrt(5) is A276854 = (0,3,6,9,12,16,19,...), with difference sequence s = A276863 = (3,3,3,3,4,3,3,3,4,3,3,3,4,3,3,3,4,...).  The sums s(j)+s(j+1)+...+s(k) include (3,4,6,7,9,10,12,13,...), with complement (1,2,5,8,11,14,15,,...).

MATHEMATICA

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

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

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]  (* A276881 *)

CROSSREFS

Cf. A276854, A276863, A276871.

Sequence in context: A190305 A294391 A257771 * A282457 A329848 A059560

Adjacent sequences:  A276878 A276879 A276880 * A276882 A276883 A276884

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 August 12 11:16 EDT 2020. Contains 336438 sequences. (Running on oeis4.)