Problem 44288. Throwing Dice - Will You Be Eaten By The Dragon?
Solution Stats
Problem Comments
-
2 Comments
David Verrelli
on 25 May 2018
Hello, Erin. It's a really interesting problem. According to Solution 1539769, I think it would be worthwhile for you to include some (small) tolerances within the assert statements in your Test Suite, to allow for rounding due to computations in 'double precision'. —DIV
Rafael S.T. Vieira
on 27 Jul 2020
I agree with David.
Solution Comments
-
1 Comment
ChrisR
on 23 Jan 2022
I used my brute-force solution (7421995) to generate enough data to deduce the pattern. Some day I might be able to derive the formula from scratch...
Problem Recent Solvers64
Suggested Problems
-
11884 Solvers
-
7582 Solvers
-
How long is the longest prime diagonal?
375 Solvers
-
Sum of big primes without primes
150 Solvers
-
607 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!