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.

A163576 Near-factorions: equal to the sum of the factorials of all but one of their digits in base 10.

Original entry on oeis.org

24, 5761, 5762
Offset: 1

Views

Author

Berend Jan van der Zwaag (b.j.vanderzwaag(AT)utwente.nl), Jul 31 2009

Keywords

Examples

			24 = 4!, 5761 = 7! + 6! + 1!, 5762 = 7! + 6! + 2!
		

References

  • Clifford A. Pickover, "Wonders of Numbers: Adventures in Mathematics, Mind, and Meaning", Oxford University Press, 2003, p. 357.

Crossrefs

Cf. A014080.

Programs

  • MATLAB
    f = factorial(0:9); n = 0; for m = 1:2177280, d = f(mod(floor(m*10.^(-floor(log10(m)):0)),10)+1); if any(sum(d)-d==m), n = n+1; a(n) = m; end, end