Here's what you posted:
Subscript[a, 0] = 2
Information[Subscript]
Superscript*5
You created a definition for Subscript
, but later you used Superscript
. So, let's assume that the following is what you intended:
Subscript[a, 0] = 2
Information[Subscript]
Subscript*5
You get
5 Subscript
Why? Just forget about Subscript
for a minute. What if you used a custom symbol:
JustASymbol[a, 0] = 2;
JustASymbol*5
(* 5 JustASymbol *)
It's the same thing. You defined a rule for a function-like expression. You defined DownValues
. If you want a symbol itself to have a definition, you need to define OwnValues
.
SomeOtherSymbol = 2;
SomeOtherSymbol*5
(* 10 *)
And you can even do this with Subscript
Subscript = 77;
Subscript*5
(* 385 *)
But beware, if you have both OwnValues
and DownValues
for a symbol, they will produce results that you probably didn't expect.