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.41% Correct | 72.59% Incorrect
Last Solution submitted on Feb 18, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
5

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!
Go to top of page