If p is the product of the integers from 1 to 30 inclusive

This topic has expert replies
Source: — Problem Solving |

User avatar
MBA Student
Posts: 403
Joined: Tue Dec 22, 2009 7:32 pm
Thanked: 98 times
Followed by:22 members

by fibbonnaci » Mon Jan 25, 2010 8:49 pm
this is a simple question.
the number will have a power of 3 only when it is a multiple of 3.
from integers 1 to 30 we have 10 numbers that are multiples of 3.

in those numbers, 9= 3^2- so an extra 3 needs to be accounted.
similarly 18= 3*6=> 3*3*2- so again an extra 3 needs to be accounted.
27= 3*3*3 => 2 extra 3's need to be accounted.

so in total, 10 + 1+1+2 =>14 3's are there from 1-30 inclusive.

therefore the greatest integer k= 14.

hope this helps!

User avatar
Legendary Member
Posts: 1560
Joined: Tue Nov 17, 2009 2:38 am
Thanked: 137 times
Followed by:5 members

by thephoenix » Mon Jan 25, 2010 8:51 pm
30/3=10------------>10
10/3=3.3333--------->3
3/3=1---------------->1

TOT=10+3+1=14

Legendary Member
Posts: 941
Joined: Sun Dec 27, 2009 12:28 am
Thanked: 20 times
Followed by:1 members

by bhumika.k.shah » Mon Jan 25, 2010 9:12 pm
yes it did! thanks :D
fibbonnaci wrote:this is a simple question.
the number will have a power of 3 only when it is a multiple of 3.
from integers 1 to 30 we have 10 numbers that are multiples of 3.

in those numbers, 9= 3^2- so an extra 3 needs to be accounted.
similarly 18= 3*6=> 3*3*2- so again an extra 3 needs to be accounted.
27= 3*3*3 => 2 extra 3's need to be accounted.

so in total, 10 + 1+1+2 =>14 3's are there from 1-30 inclusive.

therefore the greatest integer k= 14.

hope this helps!

Legendary Member
Posts: 941
Joined: Sun Dec 27, 2009 12:28 am
Thanked: 20 times
Followed by:1 members

by bhumika.k.shah » Mon Jan 25, 2010 9:13 pm
i agree this was a very simple sum!
because the #s asked were from 1 to 30..
what if its a huge 5 digit # ? then i cant sit in the exam and find all its multiples nah?
so then how would i go about with it ???

fibbonnaci wrote:this is a simple question.
the number will have a power of 3 only when it is a multiple of 3.
from integers 1 to 30 we have 10 numbers that are multiples of 3.

in those numbers, 9= 3^2- so an extra 3 needs to be accounted.
similarly 18= 3*6=> 3*3*2- so again an extra 3 needs to be accounted.
27= 3*3*3 => 2 extra 3's need to be accounted.

so in total, 10 + 1+1+2 =>14 3's are there from 1-30 inclusive.

therefore the greatest integer k= 14.

hope this helps!

Legendary Member
Posts: 941
Joined: Sun Dec 27, 2009 12:28 am
Thanked: 20 times
Followed by:1 members

by bhumika.k.shah » Mon Jan 25, 2010 9:14 pm
Thanks phoenix! :)
But i would like to ask u the same question tht i asked fibbonaci...
what if this was a 5 digit #
then how would i go about with it ????

thephoenix wrote:30/3=10------------>10
10/3=3.3333--------->3
3/3=1---------------->1

TOT=10+3+1=14

User avatar
MBA Student
Posts: 403
Joined: Tue Dec 22, 2009 7:32 pm
Thanked: 98 times
Followed by:22 members

by fibbonnaci » Mon Jan 25, 2010 9:18 pm
yes thats why you have the factorization method. thephoenix has already articulated the method. i didnt want to repost the same thing but wanted to introduce you to another approach.

you need to decide on the approach based on the time you have at hand and the enormosity of the problem.
There is no point going all round the world with complex formulas for simple ones and vice versa.
so it is better that you know various approaches available and take a call!

Legendary Member
Posts: 941
Joined: Sun Dec 27, 2009 12:28 am
Thanked: 20 times
Followed by:1 members

by bhumika.k.shah » Mon Jan 25, 2010 9:20 pm
true that!

thanks!! :)