OFFSET
1,2
EXAMPLE
24 has one prime digit 2 and their number 1 is nonprime;
235719 has four prime digits 2,3,5,7 and their number 4 is nonprime.
313 is not in the sequence as it has a prime number (2) of prime digits (3, 3). - David A. Corneth, Aug 09 2023
MAPLE
stev_sez:=proc(n) local i, tren, st, ans, anstren; ans:=[ ]: anstren:=[ ]: tren:=n: for i while (tren>0) do st:=round( 10*frac(tren/10) ): ans:=[ op(ans), st ]: tren:=trunc(tren/10): end do; for i from nops(ans) to 1 by -1 do anstren:=[ op(anstren), op(i, ans) ]; od; RETURN(anstren); end: ts_stpf:=proc(n) local i, stpf, ans; ans:=stev_sez(n): stpf:=0: for i from 1 to nops(ans) do if (isprime(op(i, ans))='true') then stpf:=stpf+1; # number of prime digits fi od; RETURN(stpf) end: ts_nepr:=proc(n) local i, stpf, ans, ans1; ans:=[ ]: stpf:=0: for i from 1 to n do if (isprime( ts_stpf(i) )='false') then ans:=[ op(ans), i ]: fi od; RETURN(ans) end: ts_nepr(600);
MATHEMATICA
Select[Range[100], !PrimeQ[Count[IntegerDigits[#], _?PrimeQ]]&] (* Harvey P. Dale, Jan 15 2013 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Jani Melik, Apr 11 2004
EXTENSIONS
Edited by Charles R Greathouse IV, Aug 03 2010
STATUS
approved