Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157833
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A157833 Numbers n such that Sum[(-1)^k*(n-k)!,k = 0, n]+1 is prime. +0
1
2, 3, 5, 7, 15, 19, 41, 59, 61, 105, 661, 2653, 3069, 3943, 4053 (list; graph; listen)
OFFSET

1,1

COMMENT

Note that when n is even, 3 divides the summation.

The sums corresponding to terms >= 661 are only probable primes. [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Mar 13 2009]

EXAMPLE

a(2)=((-1)^0)(2-0)!+((-1)^1)(2-1)!+((-1)^2)(2-2)!+1=2!-1!+0!+1= 3 (prime).

CROSSREFS

Sequence in context: A097799 A005629 A028304 this_sequence A151531 A079987 A085547

Adjacent sequences: A157830 A157831 A157832 this_sequence A157834 A157835 A157836

KEYWORD

nonn

AUTHOR

Kyle D. Balliet (kdballie(AT)bloomu.edu), Mar 07 2009

EXTENSIONS

a(7) - a(15) from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Mar 13 2009

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 December 19 21:04 EST 2009. Contains 171054 sequences.


AT&T Labs Research