OFFSET
1,8
COMMENTS
Pairs (i,j) with AND(i,j) = 0.
Allan C. Wechsler points out that when these points are plotted on a two-dimensional grid they form a rotated version of the Sierpinski Gasket (A047999).
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..4374
N. J. A. Sloane, List of the 2187 pairs (i,j) with i+j <= 127. [Note this is not a b-file.]
EXAMPLE
The first few pairs are [0, 0], [0, 1], [1, 0], [0, 2], [2, 0], [0, 3], [1, 2], [2, 1], [3, 0], [0, 4], [4, 0], [0, 5], [1, 4], [4, 1], [5, 0], [0, 6], [2, 4], [4, 2], [6, 0], [0, 7], [1, 6], [2, 5], [3, 4], [4, 3], [5, 2], [6, 1], [7, 0], ...
MAPLE
with(Bits);
M:=16; Nlis:=[];
for s from 0 to M do for i from 0 to s do j:=s-i;
if And(i, j)=0 then Nlis:=[op(Nlis), [i, j]]; fi;
od: od:
Nlis;
MATHEMATICA
A352909list[ij_] := Select[Array[{#, ij-#} &, ij+1, 0], BitAnd @@ # == 0 &];
Flatten[Array[A352909list, 15, 0]] (* Paolo Xausa, Feb 24 2024 *)
CROSSREFS
KEYWORD
AUTHOR
N. J. A. Sloane, Apr 09 2022
STATUS
approved