If you divide it by itself and add one, you can do that infinitely many times and get a prime every time. Works for all the primes.
Comment on xkcd #3137: Cursed Number
palordrolap@fedia.io 4 days ago
Felt like noodling a little with some numbers. I have a nice candidate. 22301. Pretty small, right? It's prime. That's not troubling to most anyone's sanity.
There's something that can be done to that number four times (but no more) which results in a prime each time and the fourth step results in a 70 digit number that I may have looked at slightly tOo LoNnNg.
jaupsinluggies@feddit.uk 4 days ago
sga@piefed.social 3 days ago
it also works for all non prime perfect numbers, and also triangle numbers (all triangle numbers greater than 3 or non prime), and also for all numbers above 42, and below 69. quite a neat property sir.
Audalin@lemmy.world 4 days ago
But 22301 isn’t prime? It’s 29*769.
palordrolap@fedia.io 4 days ago
Well, this is embarrassing. This is what I get for mathing after midnight.
porl@lemmy.world 4 days ago
The true number messed you up so much you can’t recall it any more.
scathliath@lemmy.dbzer0.com 3 days ago
Can confirm, it stole my lunch money when I tried to see it, then gaslit me and told me my fiancee did. Truly a cursed number.