Implement binary version of make_index_sequence (#5751) * Implement binary version of make_index_sequence * style: pre-commit fixes * typo --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>