[go: up one dir, main page]

login
Revision History for A276877 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Sums-complement of the Beatty sequence for Pi.
(history; published version)
#6 by N. J. A. Sloane at Fri Sep 30 13:23:05 EDT 2016
STATUS

proposed

approved

#5 by Vaclav Kotesovec at Tue Sep 27 10:46:28 EDT 2016
STATUS

editing

proposed

#4 by Vaclav Kotesovec at Tue Sep 27 10:46:21 EDT 2016
MATHEMATICA

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

STATUS

proposed

editing

#3 by Clark Kimberling at Tue Sep 27 09:53:31 EDT 2016
STATUS

editing

proposed

#2 by Clark Kimberling at Tue Sep 27 09:42:53 EDT 2016
NAME

allocated Sums-complement of the Beatty sequence for Clark KimberlingPi.

DATA

1, 2, 5, 8, 11, 14, 17, 20, 23, 24, 27, 30, 33, 36, 39, 42, 45, 46, 49, 52, 55, 58, 61, 64, 67, 68, 71, 74, 77, 80, 83, 86, 89, 90, 93, 96, 99, 102, 105, 108, 111, 112, 115, 118, 121, 124, 127, 130, 133, 134, 137, 140, 143, 146, 149, 152, 155, 156, 159, 162

OFFSET

1,2

COMMENTS

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

LINKS

<a href="/index/Be#Beatty">Index entries for sequences related to Beatty sequences</a>

EXAMPLE

The Beatty sequence for Pi is A022844 = (0,3,6,9,12,15,18,21,25,,...), with difference sequence s = A063438 = (3,3,3,3,3,3,3,4,3,3,3,...). 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,...).

MATHEMATICA

z = 500; r = Pi; b = Table[Floor[k*r], {k, 0, z}]; (* A022844 *)

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

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

CROSSREFS
KEYWORD

allocated

nonn,easy

AUTHOR

Clark Kimberling, Sep 27 2016

STATUS

approved

editing

#1 by Clark Kimberling at Wed Sep 21 16:11:40 EDT 2016
NAME

allocated for Clark Kimberling

KEYWORD

allocated

STATUS

approved