Hacker News new | ask | show | jobs
by qmalzp 3092 days ago
Nit: the largest prime discovered is

2^(277,232,917)-1

not

2^(277,232,917-1)

1 comments

If you read the article, it's actually:

(2^77,232,917)-1

Very well then; let us rather write them with proper superscripts (and I’ll use THIN SPACE as a thousands and prettiness separator too because I can):

2 ⁷⁷ ²³² ⁹¹⁷ − 1

not

2 ⁷⁷ ²³² ⁹¹⁷ ⁻ ¹

There, no more ambiguity.

(Now I’m waiting for someone to jump on me to correct anything subtle.)

[Ah, I see, the parentheses were indeed a red herring. Ah well; let the superscripts remain.]

Not sure if this was a serious comment, but if it was: due to operator precedence in mathematics, the expressions (2^77,232,917)-1, 2^(77,232,917)-1, and 2^77,232,917-1 are identically evaluated, with the parentheses only used to aid the human eye. This in contrast to 2^(77,232,917-1), which is 2^77,232,916 and is a very different number indeed.
The parens are a red herring. GP is commenting on the previous poster using 277 instead of 77 (i.e. typo).