How To Analyze This (Cryptography Random?) Permutation...?

Hi to all of you guys, I'm new here...
May this thread fits on this section. A friend of mine gave me this enigma to do, written in excel. I attach the file below, name New.xls.

Enigma:
There are 10^20 possibilities of tables (Table1, Table 2, Table 3, Table 4, Table 5,...), with ten rows (row 0,1,2,......9) in each.
Inside each table is numbers 1 to 20, with its position lie on their certain rows.
Here I gave the example tables that have been filled in for 25 tables. By finding the patterns/ formulas, my friend asked me to extend the tables to fill in the blank tables 26,27,28,etc as given after Table 25.

If these tables are using permutation method, then how do you find the formula for its permutation?

Thanks.

Homework is not permitted at The UNIX and Linux Forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

Thank You.

The UNIX and Linux Forums.

Hi Neo,
Yes, I've read the rules. This isn't a homework, just brainteaser we're trying to work out. We're so poor in computer & programming, that's why we put this on programming forum, and our company isn't in computer business.
Someone has made a program in python like below, but it was for numbers 1 to 80 inside each table. We don't know how to modify the program if inside each table only numbers 1 to 20 like file New.xls above.

 
import random
group = [[]*10 for i in range(0,8)]
#-----------------------------------------
group[0] = [1,5,9,13,17,21,25,29,33,37]
group[1] = [41,45,49,53,57,61,65,69,73,77]
#-----------------------------------------
group[2] = [2,6,10,14,18,22,26,30,34,38]
group[3] = [42,46,50,54,58,62,66,70,74,78]
group[4] = [3,7,11,15,19,23,27,31,35,39]
group[5] = [43,47,51,55,59,63,67,71,75,79]
group[6] = [4,8,12,16,20,24,28,32,36,40]
group[7] = [44,48,52,56,60,64,68,72,76,80]
#-----------------------------------------
row = [0]*10
temp =[0]*10
 
for i in range(0,10):
   row = []
   temp = []
 
for i in range(0,8):
   place = 0
   for j in range(0,10):
      place = random.randint(place,j)
      temp[place] = temp[place][:]+[group[j]]
   white = 0
   place = 9
   print temp
   for j in range(0,10):
      if len(temp[place]) == 0:
         white = white +1
      else:
         newrow =random.randint(place,place+white)
         temp[newrow] = temp[place]
         if newrow != place:
            temp[place] = []
         white = newrow -place
      place = place -1
   print temp
   for j in range(0,10):
      if len(temp[j]) != 0:
         row[j] = row[j][:] +temp[j][:]
         temp[j] = []
for i in range(0,10):
       print row
   

Thx.

Homework in our judgement.

lucky7 is too lazy to even provide the smallest bit of summary analysis, just posting here and asking for others to do their work for them, and provides no concrete evidence that they are actually not doing homework!

Thread closed.