Posted by: sa54 December 25, 2007
HEAD GAME
Login in to Rate this Post:     0       ?        
45360

the factors are
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 27, 28, 30, 35, 36, 40, 42, 45, 48, 54, 56, 60, 63, 70, 72, 80, 81, 84, 90, 105, 108, 112, 120, 126, 135, 140, 144, 162, 168, 180, 189, 210, 216, 240, 252, 270, 280, 315, 324, 336, 360, 378, 405, 420, 432, 504, 540, 560, 567, 630, 648, 720, 756, 810, 840, 945, 1008, 1080, 1134, 1260, 1296, 1512, 1620, 1680, 1890, 2160,2268, 2520, 2835, 3024, 3240, 3780, 4536, 5040, 5670, 6480, 7560, 9072, 11340, 15120, 22680, 45360]

this is what i did

x=100
y=[];
while size(y) ~= 98
    y=[];
    x=x+1
for n=2:sqrt(x)
      if rem(x,n)==0;
          y= [y n x/n];
      end
end
end
y=sort(y);
y=[1 y x]

Read Full Discussion Thread for this article