[ create a new paste ] login | about

Link: http://codepad.org/s6LNSPSM    [ raw code | fork ]

PHP, pasted on Aug 26:
1
2
3
4
5
6
7
8
9
<?$e=7;$i=2;while($j<=$argv[1]){$t=gmp_strval(gmp_gcd($i++,$e));if($t>1){echo$t.' ';$j++;}$e+=$t;}
<?$e=7;$i=2;while($j<$argv[1]){$t=gmp_strval(gmp_gcd($i++,$e));if($t>1){echo$t.' ';$j++;}$e+=$t;}
<?$i=2;while($j<$argv[1]){$t=gmp_strval(gmp_gcd($i++,$e+7));if($t>1){echo$t.' ';$j++;}$e+=$t;}
<?for($i=2;$j<$argv[1];$e+=$t){$t=gmp_strval(gmp_gcd($i++,$e+7));if($t>1){echo$t.' ';$j++;}}
<?for($i=2;$j<$argv[1];$e+=$t){$t=gmp_strval(gmp_gcd($i++,$e+7));if($t>1)$j+=print"$t ";}
<?for($i=2;$j<$argv[1];$e+=$t){$t=gmp_strval(gmp_gcd($i++,$e+7));2>$t||$j+=print"$t ";}
<?for($i=2;$j<$argv[1];$e+=$t)2>$t=gmp_strval(gmp_gcd($i++,$e+7))or$j+=print"$t ";
<?for($i=2;2>$t=gmp_strval(gmp_gcd($i++,$e+7))or$argv[1]>$j+=print"$t ";$e+=$t);
<?for($i=2;2>$t=gmp_strval(gmp_gcd($i++,$e+7))or$argv[1]-=print"$t ";$e+=$t);


Create a new paste based on this one


Comments: