login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215849 Numbers that are 1 more or less than the sum of the factorials of their digits. 0
1466, 81368, 372970, 372973 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

REFERENCES

Boris A. Kordemsky, The Moscow Puzzles (1972) at pp. 167, 295.

LINKS

Table of n, a(n) for n=1..4.

EXAMPLE

81368 = 8! + 1! + 3! + 6! + 8! + 1 = 40320 + 1 + 6 + 720 + 40320 + 1.

MATHEMATICA

fdQ[n_]:=Module[{c=Total[IntegerDigits[n]!]}, n==c+1||n==c-1]; Select[Range[400000], fdQ]

CROSSREFS

Sequence in context: A207988 A207220 A045012 * A204871 A252578 A083526

Adjacent sequences:  A215846 A215847 A215848 * A215850 A215851 A215852

KEYWORD

nonn,fini,full,base

AUTHOR

Harvey P. Dale, Aug 24 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 29 09:23 EDT 2022. Contains 357088 sequences. (Running on oeis4.)