math.answers.com/other-math/How_many_perfect_squares_exist_between_one_hundred_thousand_and_one_million

Preview meta tags from the math.answers.com website.

Linked Hostnames

8

Thumbnail

Search Engine Appearance

Google

https://math.answers.com/other-math/How_many_perfect_squares_exist_between_one_hundred_thousand_and_one_million

How many perfect squares exist between one hundred thousand and one million? - Answers

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.



Bing

How many perfect squares exist between one hundred thousand and one million? - Answers

https://math.answers.com/other-math/How_many_perfect_squares_exist_between_one_hundred_thousand_and_one_million

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.



DuckDuckGo

https://math.answers.com/other-math/How_many_perfect_squares_exist_between_one_hundred_thousand_and_one_million

How many perfect squares exist between one hundred thousand and one million? - Answers

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.

  • General Meta Tags

    22
    • title
      How many perfect squares exist between one hundred thousand and one million? - Answers
    • charset
      utf-8
    • Content-Type
      text/html; charset=utf-8
    • viewport
      minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no
    • X-UA-Compatible
      IE=edge,chrome=1
  • Open Graph Meta Tags

    7
    • og:image
      https://st.answers.com/html_test_assets/Answers_Blue.jpeg
    • og:image:width
      900
    • og:image:height
      900
    • og:site_name
      Answers
    • og:description
      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.
  • Twitter Meta Tags

    1
    • twitter:card
      summary_large_image
  • Link Tags

    16
    • alternate
      https://www.answers.com/feed.rss
    • apple-touch-icon
      /icons/180x180.png
    • canonical
      https://math.answers.com/other-math/How_many_perfect_squares_exist_between_one_hundred_thousand_and_one_million
    • icon
      /favicon.svg
    • icon
      /icons/16x16.png

Links

58