Maple Program
with(linalg):
r:= array(1..2):
r[1]:= 300426607914281713365:
r[2]:= 84129507677858393258:
L:= array(1..2, 1..2):
L[1,1]:= 109931986732829734979866232821433543901088049:
L[1,2]:= 392567302329690546856394748066206816187916440:
L[2,1]:= 30784636507697855142356992218944109072681060:
L[2,2]:= L[1,1]:
L2 := multiply(L, L):
L4 := multiply(L2, L2):
L8 := multiply(L4, L4):
L16 := multiply(L8, L8):
L32 := multiply(L16, L16):
L64 := multiply(L32, L32):
L128 := multiply(L64, L64):
L256 := multiply(L128,L128):
L512 := multiply(L256,L256):
r4 := multiply(L4, r):
r12 := multiply(L8, r4):
r140 := multiply(L128,r12):
r652 := multiply(L512,r140):
r1164:= multiply(L512,r652):
b := 3*11*29*(r1164[1]*r1164[2])^2:
c := b/4657:
whitebulls := 2*3*7*53*b:
blackbulls := 2*9*89*b:
yellowbulls := 11*81*b:
dappledbulls:= 4*5*79*b:
whitecows := 8*3*5*7*23*373*c:
blackcows := 2*9*17*15991*c:
yellowcows := 9*13*46489*c:
dappledcows := 4*3*5*7*11*761*c:
totalbulls:=whitebulls+blackbulls+yellowbulls+dappledbulls:
totalcows :=whitecows +blackcows +yellowcows +dappledcows:
totalcattle := totalbulls + totalcows;
|