{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Cellular Automata" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Background reading:\n", "* http://mathworld.wolfram.com/ElementaryCellularAutomaton.html\n", "* https://en.wikipedia.org/wiki/Cellular_automaton\n", "* http://mathworld.wolfram.com/Rule30.html\n", "\n", "Code\n", "* https://rosettacode.org/wiki/Elementary_cellular_automaton#Python:_Zero_padded\n", "* https://www.bogotobogo.com/python/python_cellular_automata.php\n", "* https://codereview.stackexchange.com/questions/15304/generating-a-1d-cellular-automata-in-python\n", "* https://github.com/brahmcapoor/cellular-automata\n", "* https://pypi.org/project/cellular-automata/\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Brainstorming" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Let's try it myself!" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "rule = 10" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'00001010'" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# format to binary\n", "\"{0:08b}\".format(rule)" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "5" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# get the correct bit in rule\n", "pattern = '101'\n", "int(pattern, 2)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'0'" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# correct result\n", "def get_result(pattern, rule):\n", " return \"{0:08b}\".format(rule)[7-int(pattern, 2)]\n", "\n", "get_result(pattern, rule)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "0\n", "0\n", "1\n", "1\n", "0\n", "1\n", "1\n", "0\n" ] } ], "source": [ "# should look ok!\n", "for ptn in ['111', '110', '101', '100', '011', '010', '001', '000']:\n", " print(get_result(ptn, 54))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Does it work?" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "00000100000\n" ] } ], "source": [ "size = 11 # preferably odd number\n", "cells = '0'*(size//2) + '1' + '0'*(size//2)\n", "\n", "print(cells)" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [], "source": [ "def get_partition(string, idx):\n", " if idx == 0:\n", " return '0' + string[idx:idx+2]\n", " elif idx == len(string) - 1:\n", " return string[idx-1:idx+1] + '0'\n", " return string[idx-1:idx+2]" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'100'" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# looks ok!\n", "get_partition(cells, 6)" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'00001110000'" ] }, "execution_count": 16, "metadata": {}, "output_type": "execute_result" } ], "source": [ "rule = 54\n", "''.join([get_result(get_partition(cells, i), rule) for i in range(size)])" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [], "source": [ "def evolve(cells, rule):\n", " return ''.join([get_result(get_partition(cells, i), rule) for i in range(len(cells))])" ] }, { "cell_type": "code", "execution_count": 59, "metadata": {}, "outputs": [], "source": [ "def prettify(inpt):\n", " return inpt.replace('0', '🟩').replace('1', '🟦')" ] }, { "cell_type": "code", "execution_count": 60, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\n" ] } ], "source": [ "# matches wolfram!\n", "print(prettify(cells))\n", "for _ in range(20):\n", " cells = evolve(cells, 54)\n", " print(prettify(cells))" ] }, { "cell_type": "code", "execution_count": 106, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩\r" ] } ], "source": [ "from time import sleep\n", "\n", "# interactive\n", "print(prettify(cells), end='\\r')\n", "for _ in range(20):\n", " sleep(0.25)\n", " cells = evolve(cells, 54)\n", " print(prettify(cells), end='\\r')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Putting it together" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Here, I'll restate all the code that I just wrote." ] }, { "cell_type": "code", "execution_count": 111, "metadata": {}, "outputs": [], "source": [ "def initialize_cells(n):\n", " return '0'*n + '1' + '0'*n\n", "\n", "def evolve(cells, rule):\n", " return ''.join([get_result(get_partition(cells, i), rule) for i in range(len(cells))])\n", "\n", "def get_partition(string, idx):\n", " if idx == 0:\n", " return '0' + string[idx:idx+2]\n", " elif idx == len(string) - 1:\n", " return string[idx-1:idx+1] + '0'\n", " return string[idx-1:idx+2]\n", "\n", "def get_result(pattern, rule):\n", " return \"{0:08b}\".format(rule)[7-int(pattern, 2)]\n", "\n", "def automata(rule, n, gens, interactive=False, sleep_time=0.25):\n", " cells = initialize_cells(n)\n", " print(prettify(cells), end=('\\r' if interactive else '\\n'))\n", " for _ in range(gens):\n", " if interactive:\n", " sleep(sleep_time)\n", " cells = evolve(cells, rule)\n", " print(prettify(cells), end=('\\r' if interactive else '\\n'))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Examples" ] }, { "cell_type": "code", "execution_count": 122, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n" ] } ], "source": [ "automata(220, 11, 15)" ] }, { "cell_type": "code", "execution_count": 123, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\r" ] } ], "source": [ "automata(220, 11, 15, interactive=True)" ] }, { "cell_type": "code", "execution_count": 124, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n" ] } ], "source": [ "automata(222, 11, 15)" ] }, { "cell_type": "code", "execution_count": 125, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩\r" ] } ], "source": [ "automata(250, 23, 40, interactive=True)" ] }, { "cell_type": "code", "execution_count": 126, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩\r" ] } ], "source": [ "automata(182, 23, 40, interactive=True)" ] }, { "cell_type": "code", "execution_count": 67, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦\n" ] } ], "source": [ "automata(188, 23, 40)" ] }, { "cell_type": "code", "execution_count": 68, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦\n", "🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟩\n", "🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩\n", "🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦\n", "🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦\n", "🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟩\n", "🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩\n", "🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦\n" ] } ], "source": [ "automata(161, 23, 40)" ] }, { "cell_type": "code", "execution_count": 69, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦\n", "🟦🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦🟦🟦\n", "🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦\n", "🟦🟩🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦\n", "🟦🟩🟩🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟩🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩\n" ] } ], "source": [ "automata(225, 23, 40)" ] }, { "cell_type": "code", "execution_count": 70, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n" ] } ], "source": [ "automata(60, 23, 40)" ] }, { "cell_type": "code", "execution_count": 127, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\r" ] } ], "source": [ "automata(150, 23, 40, interactive=True)" ] }, { "cell_type": "code", "execution_count": 72, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦\n", "🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟦\n", "🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟩🟩\n", "🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦\n", "🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟩🟦🟩🟩🟦🟩🟦🟩🟦🟩🟩🟦🟩🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟩🟦🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟩🟦🟦🟦🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟩🟦🟩🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟦🟦🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟦🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟦🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦\n" ] } ], "source": [ "automata(89, 23, 40)" ] }, { "cell_type": "code", "execution_count": 73, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n" ] } ], "source": [ "automata(112, 23, 40)" ] }, { "cell_type": "code", "execution_count": 74, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦\n", "🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩\n", "🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦\n", "🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦\n", "🟩🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩\n", "🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩\n", "🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩\n", "🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩\n", "🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩\n", "🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩\n", "🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩\n", "🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦\n", "🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟩🟩🟩🟦🟩🟦🟦🟦🟩\n", "🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟦🟩\n", "🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦\n" ] } ], "source": [ "automata(105, 23, 80)" ] }, { "cell_type": "code", "execution_count": 75, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n" ] } ], "source": [ "automata(1, 23, 80)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Rule-adjusting" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "What if the rule changes each generation?" ] }, { "cell_type": "code", "execution_count": 128, "metadata": {}, "outputs": [], "source": [ "def automata_ruleplus(rule, n, gens, ruleplus, interactive=False, sleep_time=0.25):\n", " cells = initialize_cells(n)\n", " print(prettify(cells), end=('\\r' if interactive else '\\n'))\n", " for _ in range(gens):\n", " if interactive:\n", " sleep(sleep_time)\n", " cells = evolve(cells, rule)\n", " print(prettify(cells), end=('\\r' if interactive else '\\n'))\n", " rule += ruleplus" ] }, { "cell_type": "code", "execution_count": 131, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟦🟦🟩🟩🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟩🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦\r" ] } ], "source": [ "automata_ruleplus(112, 23, 40, 1, interactive=True)" ] }, { "cell_type": "code", "execution_count": 81, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟩🟦🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟦🟦🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n" ] } ], "source": [ "automata_ruleplus(10, 23, 80, 2)" ] }, { "cell_type": "code", "execution_count": 82, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟦🟦🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟩\n", "🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟩🟩🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦\n", "🟩🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟩🟩🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦🟦\n", "🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟩\n", "🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩\n", "🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟩🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦\n", "🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟦\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩🟩🟦🟩\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩\n", "🟩🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟦🟦\n", "🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟦🟦🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩\n", "🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩🟩🟩🟦🟩\n", "🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟩🟦🟩🟦🟩🟩🟦🟩🟦🟦🟦🟩🟦\n", "🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦\n", "🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟦\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟦🟩🟩🟦🟩\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟦🟦🟩🟩🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟩\n", "🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦\n", "🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟩🟦🟦🟦🟩🟩🟦🟩🟩🟦🟦🟩🟩🟦\n", "🟩🟦🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟩🟦🟩🟩🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦\n", "🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦\n" ] } ], "source": [ "automata_ruleplus(48, 23, 80, 5)" ] }, { "cell_type": "code", "execution_count": 84, "metadata": {}, "outputs": [], "source": [ "import random\n", "def automata_random(n, gens):\n", " cells = initialize_cells(n)\n", " print(prettify(cells))\n", " for _ in range(gens):\n", " cells = evolve(cells, random.randint(0, 255))\n", " print(prettify(cells))" ] }, { "cell_type": "code", "execution_count": 85, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩\n", "🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩\n", "🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦\n", "🟩🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦🟦🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟩\n", "🟦🟩🟦🟩🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟩\n", "🟩🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟩🟩🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩\n", "🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩\n", "🟦🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟩🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩\n" ] } ], "source": [ "automata_random(23, 40)" ] }, { "cell_type": "code", "execution_count": 86, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩\n", "🟦🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟩🟦\n", "🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟦🟩🟦\n", "🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟦🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n" ] } ], "source": [ "automata_random(23, 40)" ] }, { "cell_type": "code", "execution_count": 87, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦\n", "🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟩🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦\n", "🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟩🟩\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n" ] } ], "source": [ "automata_random(23, 40)" ] }, { "cell_type": "code", "execution_count": 88, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟦\n", "🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦\n", "🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟦\n", "🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟦🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩\n", "🟦🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n", "🟦🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦\n", "🟦🟩🟩🟩🟩🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦\n", "🟦🟦🟦🟦🟩🟦🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦\n", "🟦🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟦\n", "🟦🟦🟩🟩🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦🟩\n", "🟦🟩🟩🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩\n", "🟩🟩🟦🟩🟦🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩🟦\n", "🟩🟦🟦🟦🟩🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩\n", "🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩🟩\n", "🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩\n", "🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟩🟦\n" ] } ], "source": [ "automata_random(23, 40)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Future ideas" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "1. what about different starting seeds than just the middle of the board?\n", "3. starting seeds, then randomized?\n", "4. list of rules to repeat?\n", "5. 2-d automata?" ] }, { "cell_type": "code", "execution_count": 133, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩🟩🟩🟩🟩\n", "🟩🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟩🟩\n", "🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟩🟩🟩\n", "🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟦🟩🟩\n", "🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟩🟦🟩\n", "🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦\n", "🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩\n", "🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟩\n", "🟦🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟩\n", "🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟦\n", "🟦🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟦🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩\n", "🟦🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩\n", "🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦\n", "🟦🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟩🟩\n", "🟦🟦🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟦🟩\n", "🟦🟩🟩🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟩🟦🟦🟩🟩🟩🟦🟦🟦🟦🟩🟦🟦🟦\n" ] } ], "source": [ "automata(62, 23, 40)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.4" } }, "nbformat": 4, "nbformat_minor": 4 }