A232657 Numbers producing at least 4 primes by proper concatenation of decrements.
100, 874, 1000, 1286, 3040, 3721, 3805, 3922, 4468, 6412, 7014, 7852, 8338
Offset: 1
Examples
100 yields four primes in this way: 100 99, 100 99 98 97, 100 99 98 97 96 95 94 93 92 91, and 100 99 98 97...62 61. As the first value to do so properly, a(1)=100.
Programs
-
PARI
is(n)=my(t=Str(n),s=4); while(n--,t=Str(t,n); if(isprime(eval(t)) && s--==0, return(1))); 0 \\ Charles R Greathouse IV, Feb 18 2014
Comments