Sum of two adjacent numbers are primes: Difference between revisions
Sum of two adjacent numbers are primes (view source)
Revision as of 20:31, 22 January 2022
, 2 years ago→{{header|Julia}}
m (→{{header|Phix}}: might help if I added the code...) |
|||
Line 139:
using Primes
s = @>> Lazy.range(
for n in take(20, s)
println("$n + $(n + 1) = $(n + n + 1)")
|