Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

euler 24

  • Loading branch information...
commit fe1425aef55c0744d20d5fba256464422fd3edd2 1 parent 7bacec7
@mathieucarbou authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/euler-024.gp
View
13 src/euler-024.gp
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.