Skip to content

Instantly share code, notes, and snippets.

@sguzman
Last active June 21, 2020 08:40
Show Gist options
  • Save sguzman/b434c37d7ec1a3da68a22865434ece8b to your computer and use it in GitHub Desktop.
Save sguzman/b434c37d7ec1a3da68a22865434ece8b to your computer and use it in GitHub Desktop.
List of dense rules for collatz grammar
{{\[Gamma], 93}, {\[Beta], 67}, {\[Alpha], 72}, {B, 29}, {A, 45}, {F,
28}, {\[Delta], 65}, {\[Zeta], 38}, {e, 13}, {o, 1}}
{
{e, o, e, o, e} :> \[Alpha],
{e, o, e} :> \[Beta],
{\[Alpha], o} :> \[Gamma],
{e, e} :> \[Delta],
{\[Beta], \[Beta]} :> \[Zeta],
{e, \[Gamma]} :> A,
{e, \[Alpha]} :> B,
{e, \[Beta]} :> F,
{e, \[Zeta]} :> G,
{\[Delta], e, o} :> T
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment