Special neighbor primes: Difference between revisions

m
added whitespace, added a category (Prime Numbers).
(→‎{{header|REXX}}: changed program to use neighbor primes.)
m (added whitespace, added a category (Prime Numbers).)
Line 1:
{{Draft task|Prime Numbers}}
 
;Task:
;Task:Let &nbsp; ('''p<sub>1</sub>''', &nbsp;'''p<sub>2</sub>''') &nbsp; are neighbor primes. Find and show here in base ten if '''p<sub>1</sub>+&nbsp;p<sub>2</sub>&nbsp;-1''' is prime,&nbsp; where &nbsp; '''p<sub>1</sub>, &nbsp; p<sub>2</sub> &nbsp;&lt;&nbsp; 100'''.
Let &nbsp; ('''p<sub>1</sub>''', &nbsp;'''p<sub>2</sub>''') &nbsp; are neighbor primes.
 
;Task:Let &nbsp; ('''p<sub>1</sub>''', &nbsp;'''p<sub>2</sub>''') &nbsp; are neighbor primes. Find and show here in base ten if &nbsp; '''p<sub>1</sub>+&nbsp;p<sub>2</sub>&nbsp;-1''' &nbsp; is prime, &nbsp; where &nbsp; '''p<sub>1</sub>, &nbsp; p<sub>2</sub> &nbsp;&lt;&nbsp; 100'''.
<br><br>