Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A005165
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A005165 Alternating factorials: n! - (n-1)! + (n-2)! - ... 1!.
(Formerly M3892)
+0
10
0, 1, 1, 5, 19, 101, 619, 4421, 35899, 326981, 3301819, 36614981, 442386619, 5784634181, 81393657019, 1226280710981, 19696509177019, 335990918918981, 6066382786809019, 115578717622022981, 2317323290554617019, 48773618881154822981 (list; graph; listen)
OFFSET

0,4

COMMENT

Conjecture: for n > 2, smallest prime divisor of a(n) > n. - Gerald McGarvey (Gerald.McGarvey(AT)comcast.net), Jun 19 2004. Rebuttal: This is not true - Zivkovic (Math. Comp. 68 (1999), pp. 403-409) has demonstrated that 3612703 divides A_{n} for all n >= 3612702. - Paul Jobling, Oct 18 2004.

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

R. K. Guy, The strong law of small numbers. Amer. Math. Monthly 95 (1988), no. 8, 697-712.

R. K. Guy, Unsolved Problems in Number Theory, B43.

Zivkovic (Math. Comp. 68 (1999), pp. 403-409).

LINKS

T. D. Noe, Table of n, a(n) for n=0..100

Hisanori Mishima, Factorizations of many number sequences

Hisanori Mishima, Factorizations of many number sequences

Alexsandar Petojevic, The Function vM_m(s; a; z) and Some Well-Known Sequences, Journal of Integer Sequences, Vol. 5 (2002), Article 02.1.7

E. Wegrzynowski, Series de factorielles

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

Index entries for sequences related to factorial numbers

Eric Weisstein's World of Mathematics, Alternating Factorial

FORMULA

a(0) = 0, a(n) = n! - a(n-1) for n > 0 also a(n) = n*a(n-2) + (n-1)*a(n-1) for n > 1. Sum n=1..inf PI^n/a(n) ~ 30.00005. - Gerald McGarvey (Gerald.McGarvey(AT)comcast.net), Jun 19 2004

MAPLE

A005165 := proc(n) local i; add((-1)^(n-i)*i!, i=1..n); end;

PROGRAM

(PARI) a(n)=if(n<0, 0, sum(k=0, n-1, (-1)^k*(n-k)!))

CROSSREFS

Cf. A000142, A003422, A071828, A001272.

Sequence in context: A106958 A146144 A162292 this_sequence A071828 A158615 A088180

Adjacent sequences: A005162 A005163 A005164 this_sequence A005166 A005167 A005168

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research