TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Prime numbers so memorable that people hunt for them

185 pointsby georgecmu4 months ago

20 comments

tkgally4 months ago
My family’s phone number when I was a child was both a palindrome and a prime: 7984897.<p>My parents had had the number for two decades without noticing it was a palindrome. I still remember my father’s delight when he got off a phone call with a friend: “Doug just said, ‘Hey, I dialed your number backwards and it was still you who answered.’ I never noticed that before!”<p>A few years later, around 1973, one of the other math nerds at my high school liked to factor seven-digit phone numbers by hand just for fun. I was then taking a programming class—Fortran IV, punch cards—and one of my self-initiated projects was to write a prime factoring program. I got the program to work, and, inspired by my friend, I started factoring various phone numbers. Imagine my own delight when I learned that my home phone number was not only a palindrome but also prime.<p>Postscript: The reason we hadn’t noticed that 7984897 was a palindrome was because, until around 1970, phone numbers in our area were written and spoken with the telephone exchange name [1]. When I was small, I learned our phone number as “SYcamore 8 4 8 9 7” or “S Y 8 4 8 9 7.” We thought of the first two digits as letters, not as numbers.<p>Second postscript: I lost contact with that prime-factoring friend after high school. I see now that she went on to earn a Ph.D. in mathematics, specialized in number theory, and had an Erdős number of 1. In 1985, she published a paper titled “How Often Is the Number of Divisors of <i>n</i> a Divisor of <i>n</i>?” [2]. She died two years ago, at the age of sixty-six [3].<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Telephone_exchange_names" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Telephone_exchange_names</a><p>[2] <a href="https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;0022314X85900125" rel="nofollow">https:&#x2F;&#x2F;www.sciencedirect.com&#x2F;science&#x2F;article&#x2F;pii&#x2F;0022314X85...</a><p>[3] <a href="https:&#x2F;&#x2F;www.legacy.com&#x2F;us&#x2F;obituaries&#x2F;legacyremembers&#x2F;claudia-spiro-obituary?id=38593759" rel="nofollow">https:&#x2F;&#x2F;www.legacy.com&#x2F;us&#x2F;obituaries&#x2F;legacyremembers&#x2F;claudia...</a>
评论 #42788760 未加载
评论 #42788906 未加载
评论 #42791751 未加载
stevelosh4 months ago
If you were around in the 80&#x27;s and 90&#x27;s you might have already memorized the prime 8675309 (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;867-5309&#x2F;Jenny" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;867-5309&#x2F;Jenny</a>). It&#x27;s also a twin prime, so you can add 2 to get another prime (8675311).
评论 #42788909 未加载
评论 #42787596 未加载
lehi4 months ago
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Belphegor%27s_prime" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Belphegor%27s_prime</a><p>&quot;666&quot; with 13 0&#x27;s on either side and 1&#x27;s on the ends.
评论 #42783117 未加载
评论 #42784256 未加载
评论 #42782473 未加载
评论 #42782460 未加载
susam4 months ago
As soon as I read the title of this post, the anecdote about the Grothendieck prime came to mind. Sure enough, the article kicks off with that very story! The article also links to <a href="https:&#x2F;&#x2F;www.ams.org&#x2F;notices&#x2F;200410&#x2F;fea-grothendieck-part2.pdf" rel="nofollow">https:&#x2F;&#x2F;www.ams.org&#x2F;notices&#x2F;200410&#x2F;fea-grothendieck-part2.pd...</a> which has an account of this anecdote. But the article does not reproduce the anecdote as stated in the linked document. So allow me to share it here as I&#x27;ve always found it quite amusing:<p>&gt; One striking characteristic of Grothendieck’s mode of thinking is that it seemed to rely so little on examples. This can be seen in the legend of the so-called “Grothendieck prime”. In a mathematical conversation, someone suggested to Grothendieck that they should consider a particular prime number. “You mean an actual number?” Grothendieck asked. The other person replied, yes, an actual prime number. Grothendieck suggested, “All right, take 57.”
评论 #42784485 未加载
评论 #42785812 未加载
hatthew4 months ago
&gt; Since prime numbers are very useful in secure communication, such easy-to-remember large prime numbers can be of great advantage in cryptography<p>What&#x27;s the use of notable prime numbers in cryptography? My understanding is that a lot of cryptography relies on <i>secret</i> prime numbers, so choosing a notable&#x2F;memorable prime number is like choosing 1234 as your PIN. Are there places that need a prime that&#x27;s arbitrary, large, and public?
评论 #42788428 未加载
评论 #42791537 未加载
评论 #42793556 未加载
xigency4 months ago
Doesn&#x27;t take very much searching to find this pretty nifty palindrome prime:<p>3,212,123 (the 333rd palindrome prime)<p>Interestingly, there are no four digit palindrome primes because they would be divisible by 11. This is obvious in retrospect but I found this fact by giving NotebookLM a big list of palindrome primes (just to see what it could possibly say about it over a podcast).<p>For the curious, here&#x27;s a small set of the palindrome primes: <a href="http:&#x2F;&#x2F;brainplex.net&#x2F;pprimes.txt" rel="nofollow">http:&#x2F;&#x2F;brainplex.net&#x2F;pprimes.txt</a><p>The format is x. y. z. n signifying the x-th prime#, y-th palindrome#, z-th palindrome-prime#, and the number (n). [Starting from 2]
评论 #42786567 未加载
评论 #42790433 未加载
geoffcampbell644 months ago
<a href="https:&#x2F;&#x2F;archive.ph&#x2F;O8BOs" rel="nofollow">https:&#x2F;&#x2F;archive.ph&#x2F;O8BOs</a>
quuxplusone4 months ago
A few other memorable primes:<p><a href="https:&#x2F;&#x2F;math.stackexchange.com&#x2F;questions&#x2F;2420488&#x2F;what-is-trinity-hall-prime-number" rel="nofollow">https:&#x2F;&#x2F;math.stackexchange.com&#x2F;questions&#x2F;2420488&#x2F;what-is-tri...</a><p><pre><code> 888888888888888888888888888888 888888888888888888888888888888 888888888888888888888888888888 888111111111111111111111111888 888111111111111111111111111888 888111111811111111118111111888 888111118811111111118811111888 888111188811111111118881111888 888111188811111111118881111888 888111888811111111118888111888 888111888881111111188888111888 888111888888111111888888111888 888111888888888888888888111888 888111888888888888888888111888 888111888888888888888888111888 888811188888888888888881118888 188811188888888888888881118881 188881118888888888888811188881 118888111888888888888111888811 111888811118888888811118888111 111188881111111111111188881111 111118888111111111111888811111 111111888811111111118888111111 111111188881111111188881111111 111111118888811118888811111111 111111111888881188888111111111 111111111118888888811111111111 111111111111888888111111111111 111111111111118811111111111111 111111111111111111111111111111 062100000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000001 </code></pre> <a href="https:&#x2F;&#x2F;codegolf.stackexchange.com&#x2F;questions&#x2F;146017&#x2F;output-the-ppcg-prime" rel="nofollow">https:&#x2F;&#x2F;codegolf.stackexchange.com&#x2F;questions&#x2F;146017&#x2F;output-t...</a><p><pre><code> 777777777777777777777777777777777777777 777777777777777777777777777777777777777 777777777777777777777777777777777777777 777777777777777777777777777777777777777 111111111111111111111111111111111111111 111111111111111111111111111111111111111 188888888118888888811188888811188888811 188111118818811111881881111881881111881 188111118818811111881881111111881111111 188888888118888888811881111111881118888 188111111118811111111881111111881111881 188111111118811111111881111881881111881 188111111118811111111188888811188888811 111111111111111111111111111111111111111 111111111111111111111111111111111111111 333333333333333333333333333333333333333 </code></pre> <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;math&#x2F;comments&#x2F;a9544e&#x2F;merry_christmas&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;math&#x2F;comments&#x2F;a9544e&#x2F;merry_christma...</a><p><pre><code> 20181111111111111111111111111111111111 11111111111111111166111111111111111111 11111111111111111868011111111111111111 11111111111111118886301111111111111111 11111111111111168863586111111111111111 11111111111111803608088361111111111111 11111111111193386838898668111111111111 11111111111111163508800111111111111111 11111111111111806560885611111111111111 11111111111118630808083861111111111111 11111111111585688085086853511111111111 11111111116355560388530533881111111111 11111111506383308388080803858311111111 11111183585588536538563360080880111111 11111111111118383588055585111111111111 11111111111568838588536853611111111111 11111111118830583888838553631111111111 11111111808885338530655586888811111111 11111183886860888066566368806366111111 11115385585036885386888980683008381111 11055880566883886086806355803583885511 11111111111111111685311111111111111111 11111111111111111863311111111111111111 11111111111111111035611111111111111111</code></pre>
评论 #42783182 未加载
评论 #42797629 未加载
slwvx4 months ago
The title of the Scientific American article is &quot;These Prime Numbers Are So Memorable That People Hunt for Them&quot;, which matches the content much better than the title above.
nurumaik4 months ago
Since divisibility by 2 and 5 is such a problem, why not look for memorable numbers in prime base, like base 7 or base 11?
评论 #42783290 未加载
评论 #42783936 未加载
评论 #42782340 未加载
评论 #42783951 未加载
dchichkov4 months ago
ChatGPT o1: <a href="https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;678feedb-0b2c-8001-bd77-4e574502e4fc" rel="nofollow">https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;678feedb-0b2c-8001-bd77-4e574502e4...</a><p>&gt; Thought about large prime check for 3m 52s: <i>&quot;Despite its interesting pattern of digits, 12,345,678,910,987,654,321 is definitely not prime. It is a large composite number with no small prime factors.&quot;</i><p>Feels like this Online Encyclopedia of Integer Sequences (OEIS) would be a good candidate for a hallucination benchmark...
评论 #42784312 未加载
评论 #42786340 未加载
lpolovets4 months ago
Not quite the same, but this reminds me of bitcoin, where miners are on the hunt for SHA hashes that start with a bunch of zeroes in a row (which one could say is memorable&#x2F;unusual)
pavlov4 months ago
Maybe there&#x27;s a prime number that makes a mildly interesting picture when rendered in base-2 in a 8*8 grid.<p>Should somebody spend time looking at all the primes that fit in the grid? Absolutely not.
评论 #42782812 未加载
评论 #42785143 未加载
gregschlom4 months ago
On the topic of palindromic numbers, I remember being fascinated as a kid with the fact that if you square the number formed by repeating the digit 1 between 1 and 9 times (e.g. 111,111^2) you get a palindrome of the form 123...n...321 with n being the number of 1s you squared.<p>The article talks about a very similar number: 2^31-1, which is 12345678910987654321, whereas 1111111111^2 is 12345678900987654321
评论 #42785016 未加载
jonhohle4 months ago
I there any more l33t prime than 31337?
gmuslera4 months ago
Reminds me the demonstration that all whole numbers are interesting in a way or another. Being memorable in this case is not so much about memory but about having an easy to notice pattern of digits, or a clear trivial algorithm to build them.
评论 #42782820 未加载
fxtentacle4 months ago
34567876543<p>333 2 111 2 333<p>1111 4 7 4 1111<p>35753 3 35753<p>At one time, in university, I wrote a tool to aesthetically score primes.
Retric4 months ago
&gt; Sloane calls them “memorable” primes<p>Excluding 11 seems arbitrary here.
评论 #42786620 未加载
评论 #42790393 未加载
lambertsimnel4 months ago
...in decimal.<p><a href="https:&#x2F;&#x2F;t5k.org&#x2F;notes&#x2F;words.html" rel="nofollow">https:&#x2F;&#x2F;t5k.org&#x2F;notes&#x2F;words.html</a> points out that &quot;When we work in base 36 all the letters are used - hence all words are numbers.&quot; Primes can be especially memorable in base 36. &quot;Did,&quot; &quot;nun,&quot; and &quot;pop&quot; are base-36 primes, as is &quot;primetest&quot; and many others.
评论 #42786780 未加载
isaacfrond4 months ago
<i>Since prime numbers are very useful in secure communication, such easy-to-remember large prime numbers can be of great advantage in cryptography,</i><p>That&#x27;s nonsense. I&#x27;m sure there thinking of RSA, but that needs <i>secret</i> prime numbers. So easy-to-remember is pretty much the opposite of one want. Also they are way to big. 2048 bit RSA needs two 300 digit prime numbers.
评论 #42791713 未加载