Rosettacode tasks in Perl 6
Search...
Ctrl
K
Last updated
3 years ago
Was this helpful?
Output:
Copy
say first { $_² - ($_-1)² > 1000 }, ^Inf;
Copy
501
Programming tasks
F
Find square difference
Previous
Find prime numbers of the form nnn 2
Next
Find squares n where n 1 is prime