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

 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 Table of n, a(n) for n=1..4. 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 Adjacent sequences: A097639 A097640 A097641 * A097643 A097644 A097645 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.

Last modified April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)