We use cookies to personalise content and advertisements and to analyse access to our website. Furthermore, our partners for online advertising receive pseudonymised information about your use of our website. cookie policy and privacy policy.

+0

# ???help please???

0
164
1

An integer is randomly chosen from the integers 1 through 100, inclusive. What is the probability that the chosen integer is a perfect square or a perfect cube, but not both? Express your answer as a common fraction.

So do you find all the cubes and squares from 1-100 and then eliminate the ones that are both cubes and squares and then put it in $$\frac{result}{100}$$because there are 100 different total numbers?

Please explain with solution.

Jul 2, 2018

### 1+0 Answers

#1
+104
0

A number is a perfect square and a perfect cube if and only if it is a perfect sixth power. Note that 10^2=100 and 4^3<100<5^3, while 2^6<100<3^6=9^3. Hence, there are 10 squares and 4 cubes between 1 and 100, inclusive. However, there are also 2 sixth powers, so when we add 10+4  to count the number of squares and cubes, we count these sixth powers twice. However, we don't want to count these sixth powers at all, so we must subtract them twice. This gives us a total of 10+4-2*2=10 different numbers that are perfect squares or perfect cubes, but not both. Thus, our probability is 10/100=1/10.

HOPE THIS HELPS!

Mar 16, 2019