Question: How to generate a sequence with double variables?

I am working on a sequence: seq([seq([a[i,j],b[?]],i=1..3)], j=1..3)], it has in total 9 output of a such as a[1,1],a[2,1],a[3,1],a[1,2],a[2,2],a[3,2],a[1,3],a[2,3],a[3,3], yet I need to the output of b like b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9]. I have tried to put something like seq([seq([a[i,j],b[f]],i=1..3,f=1..9)] j=1..3)] but it does not work...

Could someone help me?

Greatly appreciated!

Please Wait...