Wolfram Research

Function Repository Resource:

FormatFactorization

Source Notebook

Express an integer factorization as it would be seen in a factorization table

Contributed by: Ed Pegg Jr

ResourceFunction["FormatFactorization"][integer]

expresses integer in a factored form as it would be seen in a factorization table.

Examples

Basic Examples

Factor various numbers:

In[1]:=
ResourceFunction["FormatFactorization"][9!]
Out[1]=
In[2]:=
ResourceFunction["FormatFactorization"][3463199999]
Out[2]=
In[3]:=
ResourceFunction["FormatFactorization"][3463199999 + 1]
Out[3]=
In[4]:=
ResourceFunction["FormatFactorization"][3463199999 + 2]
Out[4]=

Scope

Make a factorization table:

In[5]:=
Grid[Partition[ResourceFunction["FormatFactorization"] /@ Range[120], 12], Frame -> All]
Out[5]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

License Information