| 1 | initial version |
This is a solution that puts first all "possibly relevant small primes" for the task in a list, than asks for the index of a prime in the list, in a dialog with the sage interpreter:
sage: pList = prime_range(10**6)
sage: pList.index(541)
99
(So it is the pythonically $99$.th place.)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.