News for hackers. Stuff that matters.
Re:A Curious Sequence of Prime Numbers by saagarjha on Sunday May 26, 2019 @06:43PM (#20018047)
This is a surprisingly small number for it to go unnoticed for a century. I'm pretty sure I wrote up a list of the first 50 or so powers of two to pass time in elementary school: if someone told me to, I could have checked the primality of numbers of the form 2^(2^n)+1 as well (though it'd be somewhat more tedious).
Re:A Curious Sequence of Prime Numbers by JadeNB on Sunday May 26, 2019 @07:10PM (#20018155)
Of course you mean numbers of the form 2^(2^n) + 1; without the increment, primality is easy to check. :-) Anyway, are you sure that it would be so easy to check primality of 15-decimal-digit numbers without even a pocket calculator, especially with no guarantee that there was any reason to do so? (Notice, for example, that you needed to add "if someone told me to".)

For more on this, see KConrad's comment https://matheducators.stackexchange.com/questions/16636/is-t... and kcrisman's comment https://matheducators.stackexchange.com/questions/16636/is-t... on the post linked by your parent.

Re:A Curious Sequence of Prime Numbers by saagarjha on Sunday May 26, 2019 @07:16PM (#20018196)
Yes, thanks for the correction :) I've fixed it above.
Re:A Curious Sequence of Prime Numbers by userbinator on Sunday May 26, 2019 @07:17PM (#20018202)
2^(2^5) + 1 is 4296967297 = 641 * 6700417. Not at all a huge number today, but in those days it'd probably be considered "astronomical".

Also, the series 2^(2^n)+1 grows extremely quickly; the next number is 18446744073709551617 = 274177 * 6728042131072, and after that 340282366920938463463374607431768211457 = 59649589127497217 * 5704689200685129054721.

Re:A Curious Sequence of Prime Numbers by saagarjha on Sunday May 26, 2019 @07:24PM (#20018246)
2^32+1 is likely reaching the limits of what an elementary school child is able to do by hand. As for the larger numbers: they do get unwieldy quickly, but I think it might be possible to manually find the factors of them with probabilistic primality testing.
Re:A Curious Sequence of Prime Numbers by lifthrasiir on Sunday May 26, 2019 @10:46PM (#20019059)
Well, the child will be bored much earlier :-)

For Fermat numbers 2^(2^n) + 1, it is well known that every prime factor should have the form k 2^(n+2) + 1. The sequence (A007117) thus goes like: k = 5 for n = 5 (Euler in 1732, very managable), k = 1071 for n = 6 (Thomas Clausen in 1854) and k = 116503103764643 for n = 7 (only known in 1970 after the modern computer).

Re:A Curious Sequence of Prime Numbers by hoseja on Monday May 27, 2019 @04:51AM (#20020500)
Just a typo but 2^(2^5) + 1 is 42946967297, you skipped the fourth digit.
Re:A Curious Sequence of Prime Numbers by ummonk on Sunday May 26, 2019 @07:11PM (#20018162)
Wait, you expect to be able to easily check primality of 2^32 + 1 by hand? Like with a naive algorithm you’d need to use erastothenes sieve to find primes up to 2^16 to test against. Granted, 641 itself is rather small but if you didn’t expect to encounter a factor that early...
Re:A Curious Sequence of Prime Numbers by saagarjha on Sunday May 26, 2019 @07:20PM (#20018225)
> Like with a naive algorithm you’d need to use erastothenes sieve to find primes up to 2^16 to test against.

π(2^16)=6542: if you told me in elementary school that I might disproving something famous I can see myself working on that for a couple of hours daily for a week or so.

Re:A Curious Sequence of Prime Numbers by ummonk on Sunday May 26, 2019 @07:51PM (#20018395)
What if I told you you'd very probably just show that the pattern continues to hold for the first 5 n?
Re:A Curious Sequence of Prime Numbers by saagarjha on Sunday May 26, 2019 @09:16PM (#20018737)
You’d stifle mathematical innovation: after all, there are quite a few things that have been proved or discovered by people who were fortunate enough to not be told that they were solving a hard problem.
Re:A Curious Sequence of Prime Numbers by dmurray on Sunday May 26, 2019 @08:17PM (#20018520)
There were so many other more interesting mathematical results to work on back then, that were equally accessible to a bright and motivated schoolchild. Euler and Fermat had it easy!