Home
Manual
Reference
Source
sieve
F
__eratosthenes__
F
__eratosthenes2__
F
__eratosthenes23__
F
__gothrough__
F
itop
F
itop2
F
itop23
F
itop230
F
itop231
F
ptoi
F
ptoi2
F
ptoi23
F
ptoi230
F
ptoi231
ulam
F
atos
F
stoa
src/sieve/ptoi231.js
export function ptoi231(p) { return Math.ceil((p - 1) / 3) - 1; }