blogs.perl.org company blog
Infinite work is less work
The first task of last week's Weekly Challenge was to print the first ten strong and weak primes. A prime p n is "strong" if it's larger than the average of its two neighbouring primes ( i.e. p n > (p n-1 +p n+1 )/2 ). A prime is "weak" if it's smaller than the average of its two neighbours.
- Points
- 161
- HN comments
- 83
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringLife, Learning & Writing2019
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 11, 2019 | Infinite work is less work by lizmat | 161 | 83 |