subscript

Hi,

I was wondering if there is a way to return only the subscript of an element in a sequence.

Essentially I have something like t:=a[[1,2]] and I want the list [1,2] to be returned. I can't think of anyway to do this. For instance solve(t=a_x,x)...

 

Any help would be appreciated.

 

op does the job

Essentially I have something like t:=a[[1,2]] and I want the list [1,2] to be returned.

This could be obtained through op(t), but I doubt it will help with the solve question.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}