wu :: forums
« wu :: forums - How Many Integers »

Welcome, Guest. Please Login or Register.
Nov 23rd, 2024, 7:16pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: william wu, SMQ, Eigenray, Grimbal, ThudnBlunder, towr, Icarus)
   How Many Integers
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: How Many Integers  (Read 903 times)
navdeep1771
Newbie
*



Let your thoughts go beyond your imagination

    navi
Email

Gender: male
Posts: 28
How Many Integers  
« on: Apr 12th, 2019, 9:25am »
Quote Quote Modify Modify

How many integers from 1 to 10^6 (both inclusive) are neither perfect squares nor perfect cubes nor perfect fourth powers?
IP Logged
rmsgrey
Uberpuzzler
*****





134688278 134688278   rmsgrey   rmsgrey


Gender: male
Posts: 2873
Re: How Many Integers  
« Reply #1 on: Apr 12th, 2019, 9:59am »
Quote Quote Modify Modify

Answer: 998910
 
Reasoning:
 
hidden:

1000000=10002=1003=106
1=12=13=16
 
So there are 1000 squares, 100 cubes, and 10 sixth powers (which are both squares and cubes). All fourth powers are also squares, so can be ignored.
 
So there are 1000+100-10 = 1090 numbers which are squares or cubes (or both) in the range and 1000000-1090 numbers which are neither.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board