human
Check if a number is Flavius Number | Return the number is Flavious Number or not.
index i starts from 2 because at 1 st iteration every 2 nd element was remove and keep going for k - th iteration.
removing the elements which are already removed at kth iteration.
Driver Code"
How can the above be solved in Python?

=====
What is a code to check if a number is Flavius Number and the other steps required?
assistant
#Here is code to check if a number is Flavius Number and the other steps required.
 def Survives ( n ) :
	i = 2
	while ( True ) :
		if ( i > n ) :
			return True ;
		if ( n % i == 0 ) :
			return False ;
		n -= n // i ;
		i += 1
if __name__ == " _ _ main _ _ " :
	n = 17 ;
	if ( Survives ( n ) ) :
		print ( " Yes " ) ;
	else :
		print ( " No " ) ;