Hello, I am trying to get {Subscript[a, 0], Subscript[a, 1], Subscript[a, x], Subscript[a, x+1]} using the table as follows,
Table[Subscript[a, p], {p, {0, 1, x, x + 1}} ]
But it does not return the last value of p.
This is the output: `{Subscript[a, 0], Subscript[a, 1], Subscript[a, x], 1}
Any help? Thank you`