SOLUTION: 120 five-cent coins are arranged in a row. Then in sequence, every second coin is replaced with a ten-cent coin, every third coin is replaced with a 20-cent coin, every fourth coin

Algebra.Com
Question 1149415: 120 five-cent coins are arranged in a row. Then in sequence, every second coin is replaced with a ten-cent coin, every third coin is replaced with a 20-cent coin, every fourth coin is replaced with a 50-cent coin, and every fifth coin is replaced with a dollar coin. The total value of the 120 coins is then:

Found 2 solutions by greenestamps, Edwin McCravy:
Answer by greenestamps(13200)   (Show Source): You can put this solution on YOUR website!


----------------------------------------------------

Edited response -- I used 25-cent (American) instead of 20-cent (UK?) coins.

According to the defined process....

(1) dollar coins

Every multiple of 5 will have a dollar coin.
120/5 = 24
24 dollar coins

(2) 50-cent coins

Every multiple of 4 that is not also a multiple of 5 will have a 50-cent coin, so number of multiples of 4 minus number of multiples of 4*5=20.
120/4 = 30
120/20 = 6
30-6 = 24 50-cent coins

(3) 20-cent coins

Every multiple of 3 that is not also a multiple of 4 and/or 5 will have a 20-cent coin -- so number of multiples of 3, minus number of multiples of 3*4=12, minus number of multiples of 3*5=15, PLUS number of multiples of 3*4*5=60.
120/3 = 40
120/12 = 10
120/15 = 8
120/60 = 2
40-10-8+2 = 24 20-cent coins

(4) 10-cent coins

This case was going to require complicated calculations, so I will determine the number of 5-cent coins; then what is left is 10-cent coins.

(5) 5-cent coins

(a) the number 1 (1 number)
(b) all primes greater than 5 and less than 120 (27 numbers)
(c) all numbers less than 120 with no prime factors 5 or less (7*7, 7*11, 7*13, 7*17; 4 numbers)
1+27+4 = 32 5-cent coins

(4) 10-cent coins, revisited:

120-(24+24+24+32) = 16 10-cent coins

So we have...
24 dollar coins
24 50-cent coins
24 20-cent coins
10 10-cent coins
32 5-cent coins

The total value of the coins in cents is then




I confirmed that answer using an excel file....


Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
Let there be 120 coin-positions numbered 1-120.

Let the set of largest factors be F = {1,2,3,4,5}

For any coin-position numbered k, if the largest factor of k in F is 1,2,3,4,5,
respectively, then the kth coin-position in the end will have a monetary value
of 5,10,20,50,100 cents, respectively. 

For each member k of F, we will enumerate the coin-position-numbers which have k
as their largest factor.

The number of coin-positions that have as their largest factor of k which is in
F is essentially calculated by this method:

the number that have that largest factor in F MINUS the number that have a
greater largest factor on F.

We use the method of inclusion and exclusion, often called the "sieve" formula.

This is the method where we start out counting too many, and so we subtract
some. But then we subtract too many, so we add some back. But we add back too
many.  So we subtract some more.  But we subtract too many.  So we add some
more, etc., and we continue this addition/subtraction process until there is no
more to add or subtract.

In this case our formula is this sequence with alternating signs:



We first enumerate the number of coin positions which have 1 as their largest
factor in F.  This will require all 5 terms of the formula. 

First term:
The number of coin-positions which have factor 1.  That's all 120, since all
have factor 1.
Total = 120

Second term:
The number of coin-positions which have factors 1 and 2.  That's 120/2=60
The number of coin-positions which have factors 1 and 3.  That's 120/3=40
The number of coin-positions which have factors 1 and 4.  That's 120/4=30
The number of coin-positions which have factors 1 and 5.  That's 120/5=24
Total = 60+40+30+24=154

Third term:
The number of coin-positions which have factors 1, 2 and 3.  That's 120/6=20
The number of coin-positions which have factors 1, 2 and 4.  That's 120/4=30
The number of coin-positions which have factors 1, 2 and 5.  That's 120/10=12
The number of coin-positions which have factors 1, 3 and 4.  That's 120/12=10
The number of coin-positions which have factors 1, 3 and 5.  That's 120/15=8
The number of coin-positions which have factors 1, 4 and 5.  That's 120/20=6
Total = 20+30+12+10+8+6=86

Fourth term:
The number of coin-positions which have factors 1, 2, 3 and 4.  That's 120/12=10
The number of coin-positions which have factors 1, 2, 3 and 5.  That's 120/30=4
The number of coin-positions which have factors 1, 2, 4 and 5.  That's 120/20=6
The number of coin-positions which have factors 1, 3, 4 and 5.  That's 120/60=2
Total = 10+4+6+2=22

Fifth term:
The number of coin-positions which have factors 1, 2, 3, 4 and 5.  That's
120/60=2
Total = 2

Substituting in the formula: 120-154+86-22+2 = 32 with largest factor in F as
1.  These 32 end up as they started, with a 5 cent coin.  So their monetary
value is 32∙5 cents = £1.60.

--------------------------------------------------------

Next we enumerate the number of coin positions which have 2 as their largest
factor in F.  This will require 4 terms of the formula.

First term:
The number of coin-positions which have factor 2.  That's 120/2=60.
Total = 60

Second term:
The number of coin-positions which have factors 2 and 3.  That's 120/6=20
The number of coin-positions which have factors 2 and 4.  That's 120/4=30
The number of coin-positions which have factors 2 and 5.  That's 120/10=12
Total = 62

Third term:
The number of coin-positions which have factors 2, 3 and 4.  That's 120/12=10
The number of coin-positions which have factors 2, 3 and 5.  That's 120/30=4
The number of coin-positions which have factors 2, 4 and 5.  That's 120/20=6
Total = 20

Fourth term:
The number of coin-positions which have factors 2, 3, 4 and 5.  That's 120/60=2

Substituting in the formula: 60-62+20-2 = 16 with greatest factor 2.
These 16 end up with a 10-cent coin.  So their value is 16∙10 cents = £1.60.

--------------------------------------------------------

Next we enumerate the number of coin positions which have 3 as their largest
factor in F.  This will require 3 terms of the formula.

First term:
The number of coin-positions which have factor 3.  That's 120/3=40.
Total = 40

Second term:
The number of coin-positions which have factors 3 and 4.  That's 120/12=10
The number of coin-positions which have factors 3 and 5.  That's 120/15=8
Total = 10+8=18
 
Third term:
The number of coin-positions which have factors 3, 4 and 5.  That's 120/60=2
Total = 2

Substituting in the formula: 40-18+2 = 24 with largest factor in F as 3.
These 24 end up with a 20-cent coin.  So their value is 24∙20 cents = £4.80.

--------------------------------------------------------

Next we enumerate the number of coin positions which have 4 as their largest
factor in F.  This will require 2 terms of the formula.

First term:
The number of coin-positions which have factor 4.  That's 120/4=30.
Total = 30

Second term:
The number of coin-positions which have factors 4 and 5.  That's 120/20=6
Total = 6
 
Substituting in the formula: 30-6 = 24 with greatest factor in F as 4.
These 24 coin positions end up with a 50-cent coin.  So their monetary value is 24∙50 cents = £12.00.

----------------------------------

So the total monetary value of all the coins in the end is 
£1.60 + £1.60 + £4.80 + £12.00 + £24.00 = £44.00

Edwin

RELATED QUESTIONS

Hi!

Never knew such a helpful website existed with such helpful tutors, who are... (answered by vleith)


Eight pennies are placed in a row on a tabletop. Every other coin is then replaced with a (answered by Mathtut)
Six hundred pennies are placed in a row. If every other penny is replaced by a nickel and (answered by Edwin McCravy)
Kindly, help me solve this question. There are 38 twenty cent coins, x ten cent coins... (answered by mickclns,stanbon)
If you have enough one, two, five, ten and twenty cent coins, in how many ways can you... (answered by Edwin McCravy)
a coins collection consists of 4, 2, and 3 cent coins. the number of 2 cent coin is one... (answered by wuwei96815)
a coins collection consists of 4, 2, and 3 cent coins. the number of 2 cent coin is one (answered by venugopalramana)
A collection of coins contains only 10-cent and 5-cent coins. There are x5-cent coins in... (answered by CubeyThePenguin)
A purse contains $3.75 in 5-cent and 20-cent coins. If there are 33 coins altogether, how (answered by josmiceli,mananth)