Magnanimous numbers: Difference between revisions

Content added Content deleted
m (missing article)
(Make task entry and task spec match)
Line 21: Line 21:
:* Use that function to find and display, here on this page the first '''45''' magnanimous numbers.
:* Use that function to find and display, here on this page the first '''45''' magnanimous numbers.


:* Use that function to find and display, here on this page the '''191st''' through '''200th''' magnanimous numbers.
:* Use that function to find and display, here on this page the '''241st''' through '''250th''' magnanimous numbers.


:* Stretch: Use that function to find and display, here on this page the '''391st''' through '''400th''' magnanimous numbers
:* Stretch: Use that function to find and display, here on this page the '''391st''' through '''400th''' magnanimous numbers
Line 54: Line 54:
put @magnanimous[^45]».fmt('%3d').batch(15).join: "\n";
put @magnanimous[^45]».fmt('%3d').batch(15).join: "\n";


put "\n191st through 200th magnanimous numbers";
put "\n241st through 250th magnanimous numbers";
put @magnanimous[240..249];
put @magnanimous[240..249];


Line 65: Line 65:
58 61 65 67 70 74 76 83 85 89 92 94 98 101 110
58 61 65 67 70 74 76 83 85 89 92 94 98 101 110


191st through 200th magnanimous numbers
241st through 250th magnanimous numbers
17992 19972 20209 20261 20861 22061 22201 22801 22885 24407
17992 19972 20209 20261 20861 22061 22201 22801 22885 24407