A048706 XOR-conjugate rules of 1-D cellular automata rules given in A048705.
150, 90, 2523490710, 199931532107794273605284333428918544790, 226413559313153607979257138616992421290
Offset: 1
Keywords
Programs
-
Maple
# Other procedures as with A048705 rule90x150combination_xored := proc(n) local r,d,p,q,j,s,k,pattern; p := extended_A020652[ n ]; # the Rule 150 component [ 0,1,op(A020652) ] q := extended_A020653[ n ]; # the Rule 90 component [ 1,0,op(A020653) ] r := p+q; # radius of CA. d := (2*r)+1; # diameter of CA, including the cell itself. s := 0; for k from 0 to (2^d)-1 do if(bit_i(k,r) <> bit_i(rule90(rule150(k,p),q),(2*r))) then s := s + 2^k; fi; od; RETURN(s); end;
Comments