SOLUTION: For how many values of n where n≤100 is 1/n represented by a terminating decimal?

Algebra.Com
Question 326015: For how many values of n where n≤100 is 1/n represented by a terminating decimal?
Found 2 solutions by Edwin McCravy, Fombitz:
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
For how many values of n where n≤100 is 1/n represented by a terminating decimal?

 will be a terminating decimal if and only if 
its only prime factors are 2 and 5 (the prime factors of 10)

all the powers of 2 under 100 are

2, 4, 8, 16, 32, 64

That's the first set of numbers

all the powers of 5 under 100 are

5, 25

1 over any of those will be a terminating decimal.

But that's not all,

1 over any product of those will also be a terminating decimal.

Now we get all the products of one of the first set
times one of the numbers in the second set.

the only products of those are

2*5=10, 4*5=20, 8*5=40, 16*5=80, (32x5 is over 100 so we stop)

2*25=50, 4*25=100, (8*25 is over 100 so we stop)

So the only cases are

 1. 
 2. 
 3. 
 4. 
 5. 
 6. 
 7. 
 8.  
 9. 
10. 
11. 
12. 
13. 
14. 

So there are 14.

Edwin



Answer by Fombitz(32388)   (Show Source): You can put this solution on YOUR website!
Fifteen times (1,2,4,5,8,10,16,20,25,32,40,50,64,80,100)
RELATED QUESTIONS

the total cost of a banquet is represented by the expression 25 n, where n is the number... (answered by josmiceli)
For what integral values of n is the expression 1^n + 2^n + 3^n + 4^n divisible by 5?... (answered by venugopalramana)
How many integers in the set {n is in Z | 1 ≤ n ≤ 1260} are divisible by 3,... (answered by richwmiller)
How many natural numbers between 0 and 1 001 are the multiples of 10? A) 8 B) 100 c)... (answered by etuition4u)
A theater's maximum capacity is 500 people. The price of admission at the theater is... (answered by jim_thompson5910)
If n is a positive 2-digit integer and both digits of n are the same, how many different (answered by fcabanski)
My professor has taken the compound interest formula... {{{ A(t)=P(1+r/n)^nt }}} ...and (answered by jim_thompson5910)
How many positive integer values of n are such that n is odd and n^3 is between 100 and... (answered by solver91311)
For each integer n, its square can be written uniquely as {{{ n^2=10k+r }}}, where r is... (answered by Edwin McCravy)