Objets/Documentation
acquerir13.py
Je fournis le matériel du contrôle AT.A11.
Télécharger ↓"""Exact observation design and held-out prefix-sampling controls for periods 13 and 5."""
from fractions import Fraction as F
from itertools import combinations
from math import ceil, comb, log, lcm
from random import Random
import json
from bruit12 import hist, matrix
R=65
AUX=(0,1,3)
def series(mask,v,w):
target={v*x%13 for x in mask}
aux={w*x%5 for x in AUX}
count=0; values=[]
for x in range(R):
values.append(R*count-12*x)