Reply To: Programming
A Tale of 2 Secrets › Forums › T.E.M.P.E.S.T. › Programming › Reply To: Programming
10th November 2025 at 10:21 pm
#113193
ByteInBits
Participant
@F6EXB_the_frenchy, ***AGAIN (YOU MADE) A POST WILE I WAS COMPOSING THIS*** (frustrating! I try to check the #number but hard to sort through)
@F6EXB_the_frenchy, @Robb27, and any one else (and Harry who seemed a little concerned about these primes)
With regards to truncated primes:
Here are the 11 known L/R truncated primes
==========================================
\\ PARI/GP Calculator Version 2.13.3 Code
{
for(i=10,999999,
v=digits(i);ok=0;
for(t=1,#v,x=#v-#v+t;n=fromdigits(v[1..x]);if(isprime(n),ok++));
forstep(t=#v,1,-1,n=fromdigits(v[t..#v]);if(isprime(n),ok++));
if(ok==#v*2,print(i))
);
}
23
37
53
73
313
317
373
797
3137
3797
739397