Return index of variable    
   I have the following
R.<a> = InfinitePolynomialRing(QQ)
b = a[3]    # 3 or any arbitrary non-negative integer
Is there a function that takes b as the input and gives the 3 back?
add a comment
 
 