Problem 51560. Convert a number from factorial notation to base 10

Just as numbers can be written in different bases, they can also be written in factorial notation. For example, (34101)_! is 463 in base 10 because
3*5! + 4*4! + 1*3! + 0*2! + 1*1! = 360 + 96+6+1 = 463
If the first place after the decimal point is the 1/2! place, then we would have, for example,
(0.123)_!= 1/2! + 2/3! + 3/4! = 23/24
Write a function to convert a number from factorial notation to decimal notation, or base 10. For digits greater than 9, use A, B, C, etc.

Solution Stats

50.0% Correct | 50.0% Incorrect
Last Solution submitted on Jun 17, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers10

Suggested Problems

More from this Author281

Community Treasure Hunt

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

Start Hunting!