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!)
A097642 Numbers k such that k = (d_1! + d_2! + ... + d_k!) - (d_1 + d_2 + ... + d_k) where d_1 d_2 ... d_k is the decimal expansion of k. 2
3, 115, 6576, 80855 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
80855 is in the sequence because 80855 = (8! + 0! + 8! + 5! + 5!) - (8 + 0 + 8 + 5 + 5).
MATHEMATICA
okQ[n_]:=Module[{idn=IntegerDigits[n]}, n==Total[idn!]-Total[idn]]; Select[Range[81000], okQ] (* Harvey P. Dale, Aug 26 2011 *)
CROSSREFS
Cf. A097643.
Sequence in context: A229929 A267897 A132304 * A009095 A326995 A155209
KEYWORD
base,fini,full,nice,nonn
AUTHOR
Farideh Firoozbakht, Aug 22 2004
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 April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)