login
A097653
Numbers n such that n=d_1!!+d_2!!+...+d_k!! where d_1 d_2 ... d_k is the decimal expansion of n.
7
OFFSET
1,2
EXAMPLE
107 is in the sequence because 1!!+0!!+7!!=1+1+7*5*3*1=107.
MATHEMATICA
Do[h=IntegerDigits[n]; l=Length[h]; If[n==Sum[h[[k]]!!, {k, l}], Print[n]], {n, 4*9!!}]
CROSSREFS
KEYWORD
base,fini,full,nonn
AUTHOR
Farideh Firoozbakht, Sep 10 2004
STATUS
approved