Дипломная работа: Восьмиэлементные ассоциативные кольца
a[5,t4]:=a1[a[1,t4],a[3,t4]];
a[6,t4]:=a1[a[2,t4],a[3,t4]];
a[7,t4]:=a1[a[1,t4],a[6,t4]];
end;
{for i:=0 to 7 do begin
for j:=0 to 7 do write(a[i,j],' ');
writeln;
end;}
for k1:=0 to 7 do
for k2:=0 to 7 do
for k3:=0 to 7 do
if a[k1,a[k2,k3]]<>a[a[k1,k2],k3] then q:=1;
{writeln(q);}
if q=0 then begin
inc(r);
{for i:=0 to 2 do begin
for j:=0 to 2 do write(f,a[i,j],' ');
writeln(f);
end;
writeln(f);
end;
q:=0;}
end;
end;
begin
clrscr;
r:=0;
sc(a1);
assign(f,'a:\z2.txt');