Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A055493
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A055493 Numbers n such that Sum_{k=1..n} k! - 2 is prime. +0
1
3, 4, 5, 12, 13, 19, 65, 90, 123, 211, 281, 459 (list; graph; listen)
OFFSET

1,1

COMMENT

There are no further terms in this sequence because for all n >= 466 (Sum_{k=1..n} k!) - 2 is divisible by 467. [From Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Feb 10 2009]

EXAMPLE

1! + 2! + 3! + 4! + 5! -2 = 1 + 2 + 6 + 24 + 120 - 2 = 151 which is a prime.

MATHEMATICA

Do[If[PrimeQ[Sum[m!, {m, 1, n}]-2], Print[n]], {n, 1, 2500}]

CROSSREFS

Sequence in context: A074221 A052276 A046964 this_sequence A109350 A077034 A076601

Adjacent sequences: A055490 A055491 A055492 this_sequence A055494 A055495 A055496

KEYWORD

nonn,fini,full

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2000

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 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research