Home Manual Reference Source

src/sieve/ptoi231.js

export function ptoi231(p) {
	return Math.ceil((p - 1) / 3) - 1;
}