[go: up one dir, main page]

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!)
Revision History for A189078 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A189078 Zero-one sequence based on the sequence floor(n*sqrt(2)): a(A001951(k))=a(k); a(A001952(k))=1-a(k); a(1)=0, a(2)=0.
(history; published version)
#9 by Alois P. Heinz at Fri Oct 20 14:21:46 EDT 2017
STATUS

proposed

approved

#8 by G. C. Greubel at Fri Oct 20 14:18:51 EDT 2017
STATUS

editing

proposed

#7 by G. C. Greubel at Fri Oct 20 14:18:48 EDT 2017
LINKS

G. C. Greubel, <a href="/A189078/b189078.txt">Table of n, a(n) for n = 1..10000</a>

STATUS

approved

editing

#6 by Russ Cox at Fri Mar 30 18:57:23 EDT 2012
AUTHOR

_Clark Kimberling (ck6(AT)evansville.edu), _, Apr 16 2011

Discussion
Fri Mar 30 18:57
OEIS Server: https://oeis.org/edit/global/285
#5 by T. D. Noe at Sat Apr 16 23:14:47 EDT 2011
STATUS

proposed

approved

#4 by Clark Kimberling at Sat Apr 16 11:11:40 EDT 2011
EXAMPLE

Let u=A001951=(Beatty sequence for sqrt(2)) and v=A001952=(Beatty sequence for 2+sqrt(2)). Then A189078 is the sequence pa given by pa(u(k))=pa(k); pa(v(k))=1-pa(k), where pa(0)=0 and pa(1)=10.

#3 by Clark Kimberling at Sat Apr 16 11:05:59 EDT 2011
NAME

allocatedZero-one sequence based on forthe Clarksequence Kimberlingfloor(n*sqrt(2)): a(A001951(k))=a(k); a(A001952(k))=1-a(k); a(1)=0, a(2)=0.

DATA

0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1

OFFSET

1

EXAMPLE

Let u=A001951=(Beatty sequence for sqrt(2)) and v=A001952=(Beatty sequence for 2+sqrt(2)). Then A189078 is the sequence p given by p(u(k))=p(k); p(v(k))=1-p(k), where p(0)=0 and p(1)=1.

MATHEMATICA

r = 2^(1/2); u[n_] := Floor[r*n]; (*A001951*)

v[n_] := Floor[(2 + r) n]; (*A001952*)

a[1] = 0; a[2] = 0; h = 200;

c = Table[u[n], {n, 1, h}];

d = Table[v[n], {n, 1, h}];

Table[a[d[[n]]] = 1 - a[n], {n, 1, h - 1}]; (*A189078*)

Table[a[c[[n]]] = a[n], {n, 1, h}] (*A189078*)

Flatten[Position[%, 0]] (*A189079*)

Flatten[Position[%%, 1]] (*A189080*)

CROSSREFS

Cf. A188967, A189079, A189080, A189081.

KEYWORD

allocated

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu), Apr 16 2011

STATUS

approved

proposed

#2 by Clark Kimberling at Sat Apr 16 10:43:27 EDT 2011
KEYWORD

allocating

allocated

#1 by Clark Kimberling at Sat Apr 16 10:43:27 EDT 2011
NAME

allocated for Clark Kimberling

KEYWORD

allocating

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 August 29 23:09 EDT 2024. Contains 375519 sequences. (Running on oeis4.)