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

Group

Project Euler II Image
Project Euler II
  • 12 Problems
  • 51 Finishers

Problem Recent Solvers141

Community Treasure Hunt

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

Start Hunting!
Go to top of page