Article · Wikipedia archive · Last revised Jun 2, 2026

Factoriangular number

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."

Last revised
Jun 2, 2026
Read time
≈ 5 min
Length
1,216 w
Citations
6
Source

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."

Definition

For n 1 {\displaystyle n\geq 1} , the n {\displaystyle n} th factoriangular number, denoted Ft n {\displaystyle \operatorname {Ft} _{n}} , is defined as the sum of the n {\displaystyle n} th factorial and the n {\displaystyle n} th triangular number:1

Ft n = n ! + T n = n ! + n ( n + 1 ) 2 {\displaystyle \operatorname {Ft} _{n}=n!+T_{n}=n!+{\frac {n(n+1)}{2}}} .

The first few factoriangular numbers are:

n {\displaystyle n} n ! {\displaystyle n!} T n {\displaystyle T_{n}} Ft n = n ! + T n {\displaystyle \operatorname {Ft} _{n}=n!+T_{n}}
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).

Properties

Recurrence relations

Factoriangular numbers satisfy several recurrence relations. For n 1 {\displaystyle n\geq 1} ,

Ft n + 1 = ( n + 1 ) ( Ft n n 2 2 2 ) {\displaystyle \operatorname {Ft} _{n+1}=(n+1)\left(\operatorname {Ft} _{n}-{\frac {n^{2}-2}{2}}\right)}

And for n 2 {\displaystyle n\geq 2} ,

Ft n = n ( Ft n 1 n 2 2 n 1 2 ) {\displaystyle \operatorname {Ft} _{n}=n\left(\operatorname {Ft} _{n-1}-{\frac {n^{2}-2n-1}{2}}\right)}

These are linear non-homogeneous recurrence relations with variable coefficients of order 1.

Generating functions

The exponential generating function E ( x ) = n = 0 Ft n x n n ! {\displaystyle E(x)=\sum _{n=0}^{\infty }\operatorname {Ft} _{n}{\tfrac {x^{n}}{n!}}} for factoriangular numbers is (for 1 < x < 1 {\displaystyle -1<x<1} )

E ( x ) = 2 + ( 2 5 x 2 + 2 x 3 + x 4 ) e x 2 ( 1 x ) 2 {\displaystyle E(x)={\frac {2+(2-5x^{2}+2x^{3}+x^{4})e^{x}}{2(1-x)^{2}}}}

If the sequence is extended to include Ft 0 = 1 {\displaystyle \operatorname {Ft} _{0}=1} , then the exponential generating function becomes

E ( x ) = 2 + ( 2 x x 2 x 3 ) e x 2 ( 1 x ) {\displaystyle E(x)={\frac {2+(2x-x^{2}-x^{3})e^{x}}{2(1-x)}}} .

Representations as sums of triangular numbers

Factoriangular numbers can sometimes be expressed as sums of two triangular numbers:

  • Ft n = 2 T n {\displaystyle \operatorname {Ft} _{n}=2T_{n}} if and only if n = 1 {\displaystyle n=1} or n = 3 {\displaystyle n=3} .
  • Ft n = T x + T n {\displaystyle \operatorname {Ft} _{n}=T_{x}+T_{n}} if and only if 8 n ! + 1 {\displaystyle 8n!+1} is a perfect square. For n x {\displaystyle n\neq x} , the only known solution is ( Ft 5 , T 15 ) = ( 135 , 120 ) {\displaystyle (\operatorname {Ft} _{5},T_{15})=(135,120)} , giving Ft 5 = T 5 + T 15 {\displaystyle \operatorname {Ft} _{5}=T_{5}+T_{15}} .
  • Ft n = T x + T y {\displaystyle \operatorname {Ft} _{n}=T_{x}+T_{y}} if and only if 8 Ft n + 2 {\displaystyle 8\operatorname {Ft} _{n}+2} is a sum of two squares.

Representations as sums of squares

Some factoriangular numbers can be expressed as the sum of two squares. For n 20 {\displaystyle n\leq 20} , the factoriangular numbers that can be written as a 2 + b 2 {\displaystyle a^{2}+b^{2}} for some integers a {\displaystyle a} and b {\displaystyle b} include:

  • Ft 1 = 2 = 1 2 + 1 2 {\displaystyle \operatorname {Ft} _{1}=2=1^{2}+1^{2}}
  • Ft 2 = 5 = 1 2 + 2 2 {\displaystyle \operatorname {Ft} _{2}=5=1^{2}+2^{2}}
  • Ft 4 = 34 = 3 2 + 5 2 {\displaystyle \operatorname {Ft} _{4}=34=3^{2}+5^{2}}
  • Ft 9 = 362 , 925 = 195 2 + 570 2 {\displaystyle \operatorname {Ft} _{9}=362,925=195^{2}+570^{2}}

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 4 k + 3 {\displaystyle 4k+3} raised to an odd power.

Fibonacci factoriangular numbers

A Fibonacci factoriangular number is a number that is both a Fibonacci number and a factoriangular number. There are exactly three such numbers:

  • Ft 1 = 2 = F 3 {\displaystyle \operatorname {Ft} _{1}=2=F_{3}}
  • Ft 2 = 5 = F 5 {\displaystyle \operatorname {Ft} _{2}=5=F_{5}}
  • Ft 4 = 34 = F 9 {\displaystyle \operatorname {Ft} _{4}=34=F_{9}}

This result was conjectured by Romer Castillo and later proved by Ruiz and Luca.21

Pell factoriangular numbers

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: Ft 1 = 2 {\displaystyle \operatorname {Ft} _{1}=2} , Ft 2 = 5 {\displaystyle \operatorname {Ft} _{2}=5} , and Ft 3 = 12 {\displaystyle \operatorname {Ft} _{3}=12} .3

Catalan factoriangular numbers

A Catalan factoriangular number is a number that is both a Catalan number and a factoriangular number. The only such numbers are 1, 2 and 5.4 They also proved in the same paper that the only central binomial coefficients which are also factoriangular numbers are 1 and 2.

Generalizations

The concept of factoriangular numbers can be generalized to ( n , k ) {\displaystyle (n,k)} -factoriangular numbers, defined as Ft n , k = n ! + T k {\displaystyle \operatorname {Ft} _{n,k}=n!+T_{k}} where n {\displaystyle n} and k {\displaystyle k} are positive integers. The original factoriangular numbers correspond to the case where n = k {\displaystyle n=k} . This generalization gives rise to factoriangular triangles, which are Pascal-like triangular arrays of numbers. Two such triangles can be formed:

  • A triangle with entries Ft n , k {\displaystyle \operatorname {Ft} _{n,k}} where k n {\displaystyle k\leq n} , yielding the sequence: 2, 3, 5, 7, 9, 12, 25, 27, 30, 34, ...
  • A triangle with entries Ft n , k {\displaystyle \operatorname {Ft} _{n,k}} where k n {\displaystyle k\geq n} , yielding the sequence: 2, 4, 5, 7, 8, 12, 11, 12, 16, 34, ...

In both cases, the diagonal entries (where n = k {\displaystyle n=k} ) correspond to the original factoriangular numbers.

See also

See also

References

References

  1. Rayaguru, Sai Gopal; Odjoumani, Japhet; Panda, Gopal Krishna (2020-07-26). "Factoriangular numbers in balancing and Lucas-balancing sequence". Boletín de la Sociedad Matemática Mexicana. 26 (3): 865–878. doi:10.1007/s40590-020-00303-1.
  2. Gomez Ruiz, C.A.; Luca, F. (2017). "Fibonacci factoriangular numbers". Indagationes Mathematicae. 28 (4): 796–804. doi:10.1016/j.indag.2017.05.002. hdl:21.11116/0000-0004-086E-9.
  3. Luca, Florian; Odjoumani, Japhet; Togbé, Alain (2019). "Pell Factoriangular Numbers". Publications de l'Institut Mathématique. Nouvelle série. 105 (119): 93–100. doi:10.2298/PIM1919093L.
  4. https://publikacio.uni-eszterhazy.hu/8235/1/AMI_60_from93to97.pdf, Catalan numbers which are factoriangular numbers. Mathematics Division, Stellenbosch University, Stellenbosch, South Africa: Florian Luca, Japhet Odjoumani and Alan Togbé. 2024. pp. 1–4. {{cite book}}: External link in |title= (help)CS1 maint: date and year (link)
External links