login
A154103
Auxiliary array for computing A153835.
3
0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0
OFFSET
0,1
COMMENTS
A(x,y): A(0,0), A(1,0), A(0,1), A(2,0), A(1,1), A(0,2), ... is 1 if y=0 and x!=0, or if A085207bi(2*x, y) is greater than A085207bi(2*y, x), 0 otherwise.
LINKS
PROG
(MIT Scheme:)
(define (A154103bi x y) (cond ((and (zero? y) (not (zero? x))) 1) ((> (A085207bi (* 2 x) y) (A085207bi (* 2 y) x)) 1) (else 0)))
(define (A154103 n) (A154103bi (A002262 n) (A025581 n)))
CROSSREFS
Transpose: A154104. Cf. A085207, A002262, A025581.
Sequence in context: A144605 A349297 A349317 * A116178 A028999 A091244
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Jan 05 2009
STATUS
approved