Question: sequence and separate out individual numbers from two multiple digit numbers.

I want to take two numbers, for example 37665432 and 59374696 (later extrapolate to 3 or 4 etc... sets of numbers) and take each individual number alternately and put them into a list. 

Here's what I have

a:=37665432;

b:=59374696;

c:=convert(a,base,10);

d:=convert(b,base,10);

e:=ListTools:-Reverse(c);

f:=ListTools:-Reverse(d);

So now I have the numbers all in a list and I want to select each one alternately into another list.

g:=seq(e[i],f[i],i=1..8); 

Error, invalid input: seq expects its 3rd argument, step, to be of type numeric, but received i = 1 .. 3

I can put square brackets around e[i],f[i] like this

g:=seq([e[i],f[i]],i=1..8); and I get

[3,5],[7,9],[6,3], ... etc.  but that's not exactly what I want. 

How can I get it into a list like this [3,5,7,9,6,3,...etc]

 

Please Wait...