Register to reply

32 nails

by campingfriend
Tags: cash, multiplication, nails, total
Share this thread:
campingfriend
#1
Dec12-13, 08:51 AM
P: 1
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.
Phys.Org News Partner Mathematics news on Phys.org
Math journal puts Rauzy fractcal image on the cover
Heat distributions help researchers to understand curved space
Professor quantifies how 'one thing leads to another'
phinds
#2
Dec12-13, 08:57 AM
PF Gold
phinds's Avatar
P: 6,479
Quote Quote by campingfriend View Post
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.
jbunniii
#3
Dec12-13, 10:17 AM
Sci Advisor
HW Helper
PF Gold
jbunniii's Avatar
P: 3,288
$$\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...

cpscdave
#4
Dec12-13, 10:37 AM
P: 138
32 nails

Quote Quote by jbunniii View Post
$$\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


Register to reply

Related Discussions
Nails going down the side of the roof Introductory Physics Homework 4
Calcium and nails Medical Sciences 1
How many nails does the carpenter use? Engineering, Comp Sci, & Technology Homework 0
Nails and Stress Introductory Physics Homework 2
Hang nails Biology 5