Can You Get Rich By Nailing 32 Horse Shoes?

  • Context: High School 
  • Thread starter Thread starter campingfriend
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around a hypothetical scenario involving the cost of nailing horse shoes, specifically focusing on a doubling payment scheme for each nail. Participants explore the mathematical implications of this scenario, referencing historical examples and potential computational issues related to banking software.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Conceptual clarification

Main Points Raised

  • One participant proposes a payment scheme where each nail costs double the previous one, starting at one penny, leading to a potentially large total.
  • Another participant notes that this concept has historical roots, referencing a similar example involving grains of wheat on a chessboard.
  • Mathematical expressions are presented to calculate the total cost of the nails, specifically using the formula for a geometric series.
  • Concerns are raised about the implications of using 32-bit variables in banking software, suggesting that a larger number of nails could lead to computational issues.
  • A humorous note is made about the difference between signed and unsigned variables in programming, adding a light-hearted element to the discussion.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical principles involved but do not reach a consensus on the implications of using different variable types in programming or the practical outcomes of the payment scenario.

Contextual Notes

The discussion does not resolve the potential computational issues related to banking software or the practical feasibility of the proposed payment scheme.

campingfriend
Messages
1
Reaction score
0
So if you are putting horse shoes on a horse it takes 32 nails. Imagine telling the horse owner you will do the first nail for a penny and the second nail for 2 pennys. Each nail will be double the prior nail.Once the final nail is installed ant the total is tallied up, will he be able to pay you? You might be surprised at your bank account if he actually writes you a check for the correct amount. That would be a lot spending cash at your disposal.
 
Mathematics news on Phys.org
campingfriend said:
So if you are putting horse shoes on a horse it takes 32 nails. Imagine telling the horse owner you will do the first nail for a penny and the second nail for 2 pennys. Each nail will be double the prior nail.Once the final nail is installed ant the total is tallied up, will he be able to pay you? You might be surprised at your bank account if he actually writes you a check for the correct amount. That would be a lot spending cash at your disposal.

This has been known since ancient times. The original was 1 grain of wheat one the first square of a chessboard, 2 on the 2nd, etc.
 
$$\sum_{n=0}^{N-1} 2^n = \frac{2^{N} - 1}{2 - 1} = 2^{N} - 1 = 2^{32} - 1$$
Good thing it wasn't 33 nails, or you might have had an even bigger surprise if that slacker who programmed your bank's software used 32-bit variables...
 
jbunniii said:
$$\sum_{n=0}^{N-1} 2^n = \frac{2^{N} - 1}{2 - 1} = 2^{N} - 1 = 2^{32} - 1$$
Good thing it wasn't 33 nails, or you might have had an even bigger surprise if that slacker who programmed your bank's software used 32-bit variables...

Depends on if they used signed or unsigned :D
 

Similar threads

  • · Replies 69 ·
3
Replies
69
Views
17K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
14
Views
12K
  • · Replies 25 ·
Replies
25
Views
8K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 18 ·
Replies
18
Views
6K
Replies
13
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 13 ·
Replies
13
Views
5K