Author: L. Grondin
2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the digits of the number 2^1000?
Source code: prob016-grondilu.pl
say 2**1000 .comb.sum;
Generated on 2021-10-23T14:59:59.564015+02:00 from the sources at
raku/examples on github.
This is a work in progress to collect examples of Raku. Contributions welcome!
These documents are provided under the terms of the Artistic
The Camelia image is copyright 2009 by Larry Wall.