Atelier des rouesLab FR
Objects/Documentation

rang_premiers.py

Reproducible program or output for the prefiltre dossier.

Download ↓
"""Prime rank through the first missing cube. Standard library, Python 3.10+."""
from bisect import bisect_right
from math import isqrt
from statistics import median
from time import perf_counter_ns
import argparse
import json
import platform
import subprocess
import tracemalloc

CASES = ((5,7),(7,11),(11,13),(19,23))
RANK_OFFSETS = (0,1,2,5,10,25,50)


def trial(limit):

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.