Prime numbers which contain 123: Difference between revisions

m
dropped the "numbers" from "prime numbers".
m (→‎{{header|REXX}}: added output for the stretch goal.)
m (dropped the "numbers" from "prime numbers".)
Line 2:
 
;Task:
Find those prime numbersprimes   '''n'''   whose decimal representation contains the consecutive digits   '''123''',   where   '''n   <   100,000'''.
 
 
;Stretch goal:
As above, but only show the <u>count</u> of those primes numbers &nbsp; '''n''' &nbsp; that contain the (above) string, &nbsp; where &nbsp; '''n &nbsp; &lt; &nbsp; 1,000,000'''.
<br><br>