cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A254499 Amicable factorions.

Original entry on oeis.org

1, 2, 145, 871, 872, 40585, 45361, 45362
Offset: 1

Views

Author

Michel Lagneau, Jan 31 2015

Keywords

Comments

The members of a pair of numbers p and q are called amicable factorions if each is equal to the sum of the factorials of the base-10 digits of the other. The only six pairs (p,q) are (1, 1), (2, 2), (145, 145), (871,45361), (872, 45362), (40585, 40585).
Peter Kiss (1977) showed there are no further terms. - N. J. A. Sloane, Mar 17 2019

Examples

			871 and 45361 are in the sequence because:
871 => 8!+7!+1! = 40320 +5040 + 1 = 45361;
45361 => 4!+5!+3!+6!+1! = 24 + 120 + 6 + 720 + 1 = 871.
		

References

  • P. Kiss, A generalization of a problem in number theory, Math. Sem. Notes Kobe Univ., 5 (1977), no. 3, 313-317. MR 0472667 (57 #12362).

Crossrefs

A014080 and A214285 are subsets.

Programs

  • Mathematica
    Select[Range[10^6], Plus @@ (IntegerDigits[Plus @@ (IntegerDigits[ # ]!) ]!) == # &]

Formula

n such that f(f(n))=n, where f(k)=A061602(k).