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.

A306955 Let f map k to the sum of the factorials of the digits of k (A061602); sequence lists numbers such that f(f(f(k)))=k.

Original entry on oeis.org

1, 2, 145, 169, 1454, 40585, 363601
Offset: 1

Views

Author

N. J. A. Sloane, Mar 17 2019

Keywords

Comments

Kiss showed that there are no further terms and in fact there are no further cycles other than those shown in A014080 and A254499.

Examples

			The map f sends 169 to 363601 to 1454 to 169 ...
		

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

Cf. A061602.
The fixed points and loops of length 2 can be found in A014080, A214285, and A254499.

Programs

  • Mathematica
    f[k_] := Total[IntegerDigits[k]!]; Select[Range[400000], Nest[f, #, 3] == # &] (* Amiram Eldar, Mar 17 2019 *)
  • PARI
    a061602(n) = my(d=digits(n)); sum(i=1, #d, d[i]!)
    is(n) = a061602(a061602(a061602(n)))==n \\ Felix Fröhlich, May 18 2019