In number theory, a factoriangular number is an integer formed by adding a factorial and a triangular number with the same index. The name is a portmanteau of "factorial" and "triangular."
For , the th factoriangular number, denoted , is defined as the sum of the th factorial and the th triangular number: [1]
The first few factoriangular numbers are:
1 | 1 | 1 | 2 |
2 | 2 | 3 | 5 |
3 | 6 | 6 | 12 |
4 | 24 | 10 | 34 |
5 | 120 | 15 | 135 |
6 | 720 | 21 | 741 |
7 | 5,040 | 28 | 5,068 |
8 | 40,320 | 36 | 40,356 |
9 | 362,880 | 45 | 362,925 |
10 | 3,628,800 | 55 | 3,628,855 |
These numbers form the integer sequence A101292 in the Online Encyclopedia of Integer Sequences (OEIS).
Factoriangular numbers satisfy several recurrence relations. For ,
And for ,
These are linear non-homogeneous recurrence relations with variable coefficients of order 1.
The exponential generating function for factoriangular numbers is (for )
If the sequence is extended to include , then the exponential generating function becomes
Factoriangular numbers can sometimes be expressed as sums of two triangular numbers:
Some factoriangular numbers can be expressed as the sum of two squares. For , the factoriangular numbers that can be written as for some integers and include:
This result is related to the sum of two squares theorem, which states that a positive integer can be expressed as a sum of two squares if and only if its prime factorization contains no prime factor of the form raised to an odd power.
A Fibonacci factoriangular number is a number that is both a Fibonacci number and a factoriangular number. There are exactly three such numbers:
This result was conjectured by Romer Castillo and later proved by Ruiz and Luca. [2] [1]
A Pell factoriangular number is a number that is both a Pell number and a factoriangular number. [3] Luca and Gómez-Ruiz proved that there are exactly three such numbers: , , and . [3]
A Catalan factoriangular number is a number that is both a Catalan number and a factoriangular number.
The concept of factoriangular numbers can be generalized to -factoriangular numbers, defined as where and are positive integers. The original factoriangular numbers correspond to the case where . This generalization gives rise to factoriangular triangles, which are Pascal-like triangular arrays of numbers. Two such triangles can be formed:
In both cases, the diagonal entries (where ) correspond to the original factoriangular numbers.