Metadata-Version: 2.4
Name: divisibility-library
Version: 0.1.1
Summary: Library of divisibility features (1-99) without modulo (%)
Author-email: Alexander Bogatyrev <alexander@bogatyrev.de>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

Library of divisibility features (1-99) without modulo (%). 
Based on cross sums, block sums and reduction algorithms.
On large numbers it works much faster than %.

usage:
# Create instance
dv = DivisibilityLibrary()
# Examples
print(f"12375 durch 99: {dv.by_99(12375)}")  # True (1+23+75=99)
print(f"1001 durch 7:   {dv.by_7(1001)}")  # True (100 - 2*1 = 98)
print(f"392 durch 98:   {dv.by_98(392)}")  # True (2*3 + 92 = 98)
