In Mathematica, I am doing computations involving polynomials with variables like
p[0,1,2]
In the end, I will need to put these equations in to another program. This other program does not allow brackets or commas in variable names. So, I need to send the above variable to
p012
Ultimately, I need my entire list of polynomials to be in input form which I can copy and paste into the other program. I have tried writing something like
StringVar[i_, j_, k_] := StringForm["p``````", i, j, k]
And then using Simplify to substitute the variables. But, when I use InputForm on the entire list of polynomials I get these funny expressions
StringForm["p``````", 0, 1, 2]
instead of the variables p012 that I would like. How do I make Mathematica treat these as variables?