See https://en.wikipedia.org/wiki/Mersenne_prime. Basically check if something is of the form:
Mn = 2n β 1
I've got no idea how difficult/easy this is in Javascript though.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too