| 1 | initial version |
There are "bitsets" in Sage: https://doc.sagemath.org/html/en/reference/data_structures/sage/data_structures/bitset.html. But read the warning at the top of that page. It should also be possible to install bitarray in Sage, depending on what your Sage installation is like. Is it your own personal copy, or installed by a system administrator, or what? What OS?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.