I am after the code to generate all the combinations of the UK lottery 6/49. Will excel hold this much data as it is nearly 14 mil combos.
Part of a project of probability on a stats course currently doing
for p1=1 to 44
for p2=p1+1 to 45
for p3=p2+1 to 46
for p4=p3+1 to 47
for p5=p4+1 to 48
for p6=p5+1 to 49
debug.print p1; ;p2; ;p3; ;p4; ;p5; ;p6
next p6
next p5
next p4
next p3
next p2
next p1