A simple Turing machine for checking binary divisibility by 3
Project description
divisible_by_3_turing_machine
A simple Python package that implements a Turing machine to check if a binary number is divisible by 3.
🚀 Installation
pip install divisible-by-3-turing-machine
📦 Usage
from divisible_by_3_turing_machine import check_divisable_by_3
# Test cases
print(check_divisable_by_3("101")) # True
print(check_divisable_by_3("100")) # False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file divisible_by_3_turing_machine-1.0.0.tar.gz.
File metadata
- Download URL: divisible_by_3_turing_machine-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93c5e9a10a5c1ae809fd4b555771d7c5d3273f1c6f46e08c4a9c04f40cacad4d
|
|
| MD5 |
6ae6955b561ca34aa4fdee3854ed6476
|
|
| BLAKE2b-256 |
320aeeacc999ffec7d955aaf170655d194c38e8a47fa7df67686c325804e4fc3
|
File details
Details for the file divisible_by_3_turing_machine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: divisible_by_3_turing_machine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfac3b75b47cad5d22621d19016a41a9b10a988f3c8096e50be8da15ace4f0fe
|
|
| MD5 |
269226a4e43a99b656df77bcaa83e102
|
|
| BLAKE2b-256 |
a73a2845faa494f533a460dc3a837a13ca87ee329df9ee9f86a4f7edc3ec3f0b
|