How to resolve the algorithm Factorions step by step in the Fōrmulæ programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Factorions step by step in the Fōrmulæ programming language

Table of Contents

Problem Statement

A factorion is a natural number that equals the sum of the factorials of its digits.

145   is a factorion in base 10 because:

It can be shown (see talk page) that no factorion in base 10 can exceed   1,499,999.

Write a program in your language to demonstrate, by calculating and printing out the factorions, that:

Let's start with the solution: