Permalink
Browse files

euler 24

  • Loading branch information...
mathieucarbou committed Oct 6, 2012
1 parent 7bacec7 commit fe1425aef55c0744d20d5fba256464422fd3edd2
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/euler-024.gp
View
@@ -0,0 +1,13 @@
+n=3
+i=3
+{
+ for(x=0,i,
+ p=numtoperm(n, x);
+ print1(p " ");
+ for(i=1,n,print1(n-p[i]));
+ print("")
+ )
+}
+\q
+
+//2783915460

0 comments on commit fe1425a

Please sign in to comment.