answersLogoWhite

0


Best Answer

I make it 684. Would you like a list?

The first time I wrote a program to compare the square root of each number from one hundred thousand to one million, and counted only those that were whole. It was late at night, and by compiling my code this brute force approach cranked out an answer in under 30 seconds. Maybe less, I don't remember.

I started to rewrite the same program just now, as I see there has been more activity on this question, but then I realized what a mental midget I had been. In thinking about code optimization it occurred to me that the square root of one million is one thousand, and so to count the perfect squares all I need to do was subtract the integral value of the square root of one hundred thousand (316) from 1000. Each of those numbers has a perfect square in the given range. 1000-316 = 684.

Had I bothered to produce a list of numbers from the original program I would have immediately realized my foolishness.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How many perfect squares exist between one hundred thousand and one million?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between the smallest perfect square larger than 1 million and largest perfect square smaller than 1 million?

Since a thousand squared is a million, the "smallest..." is the square of 1001, and the "largest..." is the square of 999.


How many perfect squares exist between one and one hundred?

10 perfect squares


How many perfect squares exist between one million and one billion?

30,622


Write each large number using figures a heart beating at a rate of 7 beats per minute would beat about thirty seven million times in a year?

it would beat exactly three million six hundred seventy nine thousand two hundreds times, in a year. this is of coarse for a perfect year of 24 hours a day and 365 days in a year.


How you round numbers to the nearest thousand?

You round down to the perfect thousand, and up, to the perfect thousand, then you look which one is the nearest and choose that one. eg: 4789 ->4000 bad ->5000 good


How many edges on a sphere?

One could say that a sphere has no edges, or that it has an infinite number of edges. Software programs will render them to a few thousand/million polygons, but a perfect sphere has no/infinite edges.


What is the 1000th perfect square?

It is 1 million.


What is the present perfect tense of play?

have /has played.I have played this song a hundred times.She has played this song a hundred times


How do you find the greatest six digit number which is a perfect square?

As 1 million is the lowest 7-digit number and also the square of one thousand, the number you seek is the square of 999, which I'm sure you can calculate!


What number is both a square number and a cube number between 1 and 25?

There is not a number that is a perfect square and perfect cube between 1 and 25.There is not a number that is a perfect square and perfect cube between 1 and 25.There is not a number that is a perfect square and perfect cube between 1 and 25.There is not a number that is a perfect square and perfect cube between 1 and 25.


Is 20 a perfect number in math?

No. In the first hundred numbers, there are only two perfect numbers: 6, and 28.


What are some really white songs?

A thousand miles and the perfect two