News for hackers. Stuff that matters.
Re:What is the largest bi-truncatable prime? by Someone on Friday May 03, 2019 @12:55PM (#19820072)
So, is there a truly largest one?

Let’s assume we have B(n) bitruncatable primes of length (n)

For B(n+2), we have at most 45 times that number (digit added at the front can’t be a zero; digit added at the back must be odd)

The fraction of them that’s prime is about 2/log(10^(n+1)) (factor 2 added because we already dropped all even numbers; n+1 in the denominator as being halfway between n and n+2 digits; neither factors affect the conclusion)

That gives us the recurrence relation

    B(n+2) ~= 90B(n)/log(10^(n+1))
            = 90B(n)/((n+1)log(10))
            = (90/log(10)) B(n)/(n+1)
That number gets smaller and smaller once n > 90/log(10) (about 39)

So, I think it’s very likely there is a largest one.

This line of thought applies to all integer bases > 2 (there isn’t a largest one in base 2 because there isn’t any in base 2)

Re:What is the largest bi-truncatable prime? by sotsoguk on Friday May 03, 2019 @08:40PM (#19823487)
I think B(n+2) is at most B(n)*36. you can’t append a 5 to get a prime number.