Skip to Search
Skip to Navigation
Skip to Content
Community
|
Code
|
Docs
|
Downloads
▼
Perl
Python
Tcl
Komodo IDE
|
more
▼
Lists
Support
PPM Index
PyPM Index
Welcome, guest
|
Sign In
|
My Account
|
Store
|
Cart
ActiveState Code
»
Recipes
Languages
Tags
Authors
Sets
Popular recipes by Samuel James Erickson
Tags:
8
k
views
1
score
Get the inversion number of a permutation
Python
/
combinatorics
,
discrete
,
inversion
,
math
,
permutations
/
by
Samuel James Erickson
(8 years ago, revision 2)
13
k
views
1
score
Extended Euclidean Algorithm
Python
/
algorithm
,
common
,
discrete
,
divisor
,
euclid
,
extended
,
gcd
,
greatest
,
logarithm
/
by
Samuel James Erickson
(8 years ago, revision 2)
5
k
views
1
score
de Polignac's Formula
Python
/
factorial
,
n
,
prime
,
primes
/
by
Samuel James Erickson
(10 years ago, revision 4)
4
k
views
0
score
Convert from decimal to base-n for any positive n less than or equal to 10
Python
/
binary
,
decimal
,
octal
/
by
Samuel James Erickson
(10 years ago)
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the popular recipes by Samuel James Erickson
Top-rated recipes
Get the inversion number of a perm…
(Python)
de Polignac's Formula
(Python)
Extended Euclidean Algorithm
(Python)
Convert from decimal to base-n for…
(Python)
x
Undo