login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097654 Numbers n such that n=|d_1!!-d_2!!+...+(-1)^(k-1)*d_k!!| where d_1 d_2 ... d_k is the decimal expansion of n. 2
1, 2, 3, 380 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

380 is in the sequence because 380=|3!!-8!!+0!!|.

MATHEMATICA

Do[h=IntegerDigits[n]; l=Length[h]; If[n==Abs[Sum[(-1)^(k-1) *h[[k]]!!, {k, l}]], Print[n]], {n, 4*9!!}]

CROSSREFS

Cf. A097653, A097655, A097643.

Sequence in context: A068104 A065586 A110931 * A156986 A066849 A071219

Adjacent sequences:  A097651 A097652 A097653 * A097655 A097656 A097657

KEYWORD

base,fini,full,nonn

AUTHOR

Farideh Firoozbakht, Sep 10 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 05:02 EDT 2021. Contains 343836 sequences. (Running on oeis4.)