Anonymous user
Strange numbers: Difference between revisions
m
added a ";Definition:, ";Task:" (section headers) to the draft task, added whitespace, added clarification that the number should be expressed in base ten.
m (added a ";Definition:, ";Task:" (section headers) to the draft task, added whitespace, added clarification that the number should be expressed in base ten.) |
|||
Line 1:
{{draft task|Prime Numbers}}
'''n''' is a '''strange number''' if every adjacent decimal digit differs from its neighbour by a prime number.▼
;Definition:
▲'''n''' is a '''strange number''' (expressed in base ten) if every adjacent decimal digit differs from its neighbour by a prime number.
;Task:
Show all strange numbers for 100 < '''n''' < 500
;Stretch goal
|