be a subset of .The only difference between and is that every element of is not divisible by either or .If Lawrence decides to write down the numbers of in increasing order what would be the number in the -th position?
Let
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I used Turbo C++ to solve this and here is my code :