Differences between revisions 33 and 34
 ⇤ ← Revision 33 as of 2014-12-20 15:24:18 → Size: 32140 Editor: akhi Comment: ← Revision 34 as of 2014-12-20 19:03:36 → ⇥ Size: 32637 Editor: akhi Comment: Deletions are marked like this. Additions are marked like this. Line 874: Line 874: == Word to composition =={{{#!sagecellR=RealField(10)@interactdef _( weight=(7,(3..10))): n=weight a=[0 for i in range(n-1)] a.append(1) @interact def _(v=('word', input_grid(1, n, default=[a], to_value=lambda x: vector(flatten(x)))), accuracy=(100..100000)):  a=[v[i] for i in range(len(v))]  def bintocomp(a): b=[] count=1 for j in range(len(a)):  if(a[j]==0):   count=count+1  else:   b.append(count)   count=1  return(b)  print bintocomp(a)}}}

Integer Factorization

by William Stein

Factor Trees

by William Stein

More complicated demonstration using Mathematica: http://demonstrations.wolfram.com/FactorTrees/

Factoring an Integer

by Timothy Clemans

Sage implementation of the Mathematica demonstration of the same name. http://demonstrations.wolfram.com/FactoringAnInteger/

by William Stein

by David Runde

by David Runde

by William Stein

by William Stein

by William Stein

by Emily Kirkman

by Emily Kirkman

by Emily Kirkman

by Emily Kirkman

Elliptic Curves

Adding points on an elliptic curve

by David Møller Hansen

Cryptography

The Diffie-Hellman Key Exchange Protocol

by Timothy Clemans and William Stein

Other

by William Stein

Computing Generalized Bernoulli Numbers

by William Stein (Sage-2.10.3)

by Robert Miller

Multiple Zeta Values

by Akhilesh P.

Computing Multiple Zeta values

interact/number_theory (last edited 2020-06-14 09:10:48 by chapoton)