How many numbers in interval with k(odd) number of divisors?

by hemangsarkar, Nov 26, 2016, 7:41 PM

The problem is http://www.spoj.com/problems/ODDDIV/

We need to find the number of numbers in a given interval with k (an odd number) of divisors.
The interval can be $(1, 10^{10})$ in the worst case.

first observation

How to find number of divisors

How to find number of divisors 2

This should have worked?

Final Step
This post has been edited 2 times. Last edited by hemangsarkar, Nov 26, 2016, 7:45 PM
Archives
Shouts
Submit
  • I like shouting :lol:

    by boywholived, Sep 8, 2012, 12:02 PM

  • cool :lol:

    by subham1729, Sep 7, 2012, 6:44 AM

  • Awesome man !

    by Pheonix, Sep 6, 2012, 5:09 PM

3 shouts
Tags
About Owner
  • Posts: 791
  • Joined: Aug 4, 2011
Blog Stats
  • Blog created: Aug 12, 2011
  • Total entries: 69
  • Total visits: 15569
  • Total comments: 9
Search Blog
a