Objets/Documentation
signatures.py
Je fournis le calcul pour « Les positions partagées suffisent au calcul par insertion ».
Télécharger ↓"""Sum circular ranks by reverse insertion, shared labels and the rank residue."""
from collections import Counter
from functools import lru_cache
from math import factorial, lcm, comb, gcd, prod
from pathlib import Path
import argparse
import json
from fusion_ordres import cycles, rank_on, signature, TARGETS
HERE=Path(__file__).resolve().parent
CASES={**TARGETS, 'new':(10,3,7,(1,4,0,6))}
def compressed(k,ell,p,source):
if p>=k:
raise ValueError("This recurrence uses a distinct outer anchor")