Atelier des rouesLab FR
Objects/Documentation

segments12.py

I provide this item to inspect or reproduce the check AT.IDX4.

Download ↓
"""Audit exact gap starts near a level-47 prefix and compare bounded select readers."""
from collections import OrderedDict
from math import gcd,prod
from random import Random
from statistics import median
from time import perf_counter_ns
from bisect import bisect_left
import argparse,json
from repertoire11 import Directory,positions,M

PRIMES=(2,3,5,7,11,13,17,19,23,29,31,37,41,43,47)
def segment(left,width):
    values=bytearray([1])*(width+30)
    for p in PRIMES:
        start=-left%p;values[start::p]=bytes(len(range(start,len(values),p)))
    points=[left+i for i,v in enumerate(values) if v]

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.