First time here? Check out the FAQ!
answered 2013-11-22 06:58:30 +0100
Not exactly the same as genvarname, but there you go:
genvarname
var(['a%d%d' % tuple(p) for p in Zmod(3)^2])
Of course, there's tons of other ways of obtaining a similar result.