Problem 55040. B-Zuckerman Numbers
Similar to my last problem (B_Harshad Numbers), B-Zuckerman Numbers are numbers that are divisable by the product of their digits when the numbers are written in base-B. Find and output all the B-Zuckerman numbers from an input listing of decimal numbers for a given base-B.
Solution Stats
Problem Comments
-
2 Comments
William
on 13 Jul 2022
In test #1, why are 1, 2, 4 and 8 not considered B-Zuckerman numbers in base-3? For example, 8 is 22 (base-3) and 2*2 = 4.
David Hill
on 13 Jul 2022
You are absolutely correct. My algorithm was incorrect. Problem should now be fixed.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
1207 Solvers
-
Find state names that start with the letter N
1275 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3356 Solvers
-
Wind outward from the center ...
84 Solvers
-
104 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!