Dominoes: Difference between revisions
m
→Extra credit task
m (xtra) |
|||
Line 209:
return BigInt(floor(prod(
[prod(
[big"4.0" * cospi(j / (m + 1)) + 4 * cospi((k / (n + 1))) for k in 1:
) for j in 1:
)))
end
Line 225:
</lang>{{out}}
<pre>
Arrangements ignoring values:
Permutations of 28 dominos: 304888344611713860501504000000
Permuted arrangements ignoring flipping dominos:
Possible flip configurations: 268435456
Possible permuted arrangements with flips:
</pre>
|