Project Euler: Problem 16, Sums of Digits of Powers of Two - MATLAB Cody - MATLAB Central

Problem 252. Project Euler: Problem 16, Sums of Digits of Powers of Two

Difficulty:Rate

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^N?

Thanks to Project Euler Problem 16.

Solution Stats

27.37% Correct | 72.63% Incorrect
Last Solution submitted on Mar 20, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
3

Problem Recent Solvers141

Suggested Problems

More from this Author56

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!