Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A129978
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A129978 Numbers n such that A120265(n)=numerator( sum( 1/k!, k=1..n )) is a prime. +0
1
2, 3, 4, 5, 6, 7, 12, 16, 19, 21, 22, 25, 41, 114, 181, 236 (list; graph; listen)
OFFSET

1,1

COMMENT

Corresponding primes are A120265[a(n)] = {3, 5, 41, 103, 1237, 433, 164611949, 35951249665217, 52255141388393, 43894318766250120011, 386270005143001056097, 53952693026046706215979, 1249584099900912571604389306768231303904375213027, ...}.

a(17)>1000 ; A120265(1000)~2.9e2564=(e-1) A061355(1000). (M. F. Hasler, Jun 18 2007)

MATHEMATICA

Do[ f=Numerator[ Sum[ 1/k!, {k, 1, n} ] ]; If[ PrimeQ[f], Print[{n, f}] ], {n, 1, 236} ]

PROGRAM

(PARI) t=0; for( n=1, 1000, if( ispseudoprime( numerator( t+=1/n!)), print( n", " ))) (M. F. Hasler, Jun 18 2007)

CROSSREFS

Cf. A120265, A061354, A061355.

Sequence in context: A108948 A107818 A039952 this_sequence A033079 A165305 A125745

Adjacent sequences: A129975 A129976 A129977 this_sequence A129979 A129980 A129981

KEYWORD

more,nonn

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Jun 13 2007

EXTENSIONS

Edited by M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Jun 18 2007

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