Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085700
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A085700 Numbers n such that (2n)!-(2n-2)!+(2n-4)!-...+(-1)^n 0! is prime. +0
1
2, 4, 26, 112, 365, 449, 453 (list; graph; listen)
OFFSET

1,1

COMMENT

There is no further term up to 1000. Consider that 3 divides n!+(n-1)!+(n-2)!+...+1! (n > 1), so this number is composite for n > 2. Also 5 divides n!-(n-1)!+...+(-1)^n*1! for n > 2, so this number is composite for n > 3.

EXAMPLE

4 is in the sequence because 8!-6!+4!-2!+1 =39623 is prime.

MATHEMATICA

Do[If[PrimeQ[Sum[(-1)^(n-k)(2k)!, {k, 0, n}]], Print[n], {n, 1000}]

CROSSREFS

Cf. A001272, A002981, A002982.

Sequence in context: A129894 A028386 A144691 this_sequence A087404 A009237 A019019

Adjacent sequences: A085697 A085698 A085699 this_sequence A085701 A085702 A085703

KEYWORD

more,nonn

AUTHOR

Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Jul 18 2003

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research