Rational Spiral

Problem Number: 
493
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
0 1 2 3 4 5 6 7 8 9 10 101 2000 2521 5000 9999 30101 499999 500000 509990 509999 510000
Problem Id: 
493