Brilliant numbers: Difference between revisions

Content added Content deleted
(New draft task and Raku example)
 
m (edit order of magnitude, typo)
Line 17: Line 17:
;Task
;Task
* Find and display the first 100 brilliant numbers.
* Find and display the first 100 brilliant numbers.
* For the orders of magnitude 2 through 6, find and show the first brilliant number greater than or equal to than the order of magnitude, and, its position in the series (or the count of brilliant numbers up to that point).
* For the orders of magnitude 1 through 6, find and show the first brilliant number greater than or equal to the order of magnitude, and, its position in the series (or the count of brilliant numbers up to that point).




Line 31: Line 31:


=={{header|Raku}}==
=={{header|Raku}}==
2 through 7 are fast. 8 and 9 take a bit longer.
1 through 7 are fast. 8 and 9 take a bit longer.
<lang perl6>use Lingua::EN::Numbers;
<lang perl6>use Lingua::EN::Numbers;