set i 1005 set a 1 while {[incr i -5]} {set a [expr $a*$i*($i-1)*($i-2)*($i-3)*($i-4)]} puts $a