Almost all of the “work” that Bitcoin miners do consists of adding a number, called a “nonce,” to a block of valid transactions and calculating the value of the SHA-256 hash function applied to the resulting text. SHA-256 is open source, with code and calculational webpages readily available online. SHA-256 inputs an exact text string (including capitalization, spaces, etc.) of any size and outputs a deterministic, but highly unpredictable and extremely output-sensitive, 256-bit number. The Bitcoin network rewards the first miner to find a nonce that results in a hash with at least a certain minimum number of leading 0s in binary representation, or, equivalently, smaller than a certain power of 2.
For example, the hash of “Casualty Actuarial Society” in hexadecimal format is:
When a nonce of 12 is appended to form “Casualty Actuarial Society12” the hash becomes:
The leading 0 in hexadecimal corresponds to 4 leading 0s in binary representation, or equivalently that the number is smaller than 2252.
This month’s puzzle is to find a nonce that when appended to “Casualty Actuarial Society” results in a hash with at least 20 leading binary 0s (same as at least 5 leading 0s in hexadecimal representation), or equivalently smaller than 2236. The smaller the hash, the better. So, send us the nonce with the smallest hash you can find!
Know the answer? Send your solution to firstname.lastname@example.org.
Which Number is Larger?
This short puzzle was stated as follows:
Let k = 10a where a = 101,000,000,000,000. Which number is larger, the kth root of k, k√k, or the (k+1)th root of k + 1, k + 1√ k + 1? What if k is some other positive integer?
Many readers resorted to differential calculus, but simple algebra will suffice to solve this puzzle.
Let x(k) = k√k. For k ≥ 3, x(k) > 1 + 1/k. This can be proven by applying the Binomial theorem: (1 + 1/k)k = 1 + 1 + (k – 1) terms < ½). So, (1 + 1/k)k < (k + 3)/2) ≤ k, for k ≥ 3. Hence, by contradiction, it must be that x(k) > 1 + 1/k.
Now for k ≥ 3, suppose x(k + 1) ≥ x(k), then x(k + 1)k ≥ k. Consequently, x(k + 1)k+1 > k(1 + 1/k) > k + 1. Again, by contradiction, it must be that x(k + 1) < x(k) for all k ≥ 3.
Solutions were also submitted by Shyam Bihari Agarwal, Andrea Altomani, John Berglund, Bob Conger, Ian Drayer, Yocheved Ephrathi, Clive Keatinge, Eamonn Long, Edward Lotkowski, Jerry Miccolis, Tomasz Serbinowski, David Skurnick, Matt Stephenson and David Uhland.
 calculational (adj.): of, pertaining to, or employing calculation. (Yes. It’s a real word.)