OFFSET
1,1
COMMENTS
Conjecture: The sequence has infinitely many terms.
The conjecture is true if A117360 is infinite. - Yehune Jeong, May 24 2026
EXAMPLE
237 has 2 prime factors (3, 79) and is the concatenation of 2 primes (23, 7).
332 has 3 prime factors (2, 2, 83) and is the concatenation of 3 primes (3, 3, 2).
3255 has 4 prime factors (3, 5, 7, 31) and is the concatenation of 4 primes (3, 2, 5, 5).
MAPLE
filter:= n -> not isprime(n) and g(n, NumberTheory:-Omega(n)):
g:= proc(n, t)
local d, i, a;
if t = 1 then return isprime(n) fi;
d:= 1+ilog10(n);
if d < t then return false fi;
for i from 1 to d-t+1 do
a:= n mod 10^i;
if a > 10^(i-1) and isprime(a) and procname((n-a)/10^i, t-1) then return true fi;
od;
false
end proc:
select(filter, [$10..1000]); # Robert Israel, May 18 2026
PROG
(PARI) is(n) = {my(b = bigomega(n)); if(b <= 1, return(0)); isConcatenationOfbPrimes(n, b)}
isConcatenationOfbPrimes(n, b) = {if(b == 1, return(isprime(n))); my(qd = #digits(n), cn, res = 0, g = n%10); if(gcd(g, 10) > 1, if(g == 2 || g == 5, return(isConcatenationOfbPrimes(n\10, b-1))); return); for(i = 1, qd - b + 1, cn = n\10^i; if((isprime(n - 10^i*cn) && n - 10^i*cn >= 10^(i-1)), if(isConcatenationOfbPrimes(cn, b-1), res = 1; return(res)))); res} \\ David A. Corneth, May 19 2026
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Philip Jameson, May 10 2026
STATUS
approved
