Determine the probability that a for a seven-digit positive hexadecimal integer N, the sum of the first four digits of N is equal to the product of the last three digits of N.
(In reply to
re: computer solution by Dej Mar)
Off the top of my head, I'd think about the number of significant digits your calculations use, and whether some of the numbers that are being added together might have different orders of magnitude of size.
My calculations use approx 15 or 16 significant decimal positions (more exact in binary), and initially are just a count, rather than precalculated probabilities.
|
Posted by Charlie
on 2014-12-25 18:30:15 |