login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126225 Least number k>0 such that numerator of Sum[ 1/Prime[i]^n, {i,1,k} ] is a prime. 0
2, 2, 3, 2, 3, 5, 3, 11, 3, 22 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

a(12) > 80, a(13) = 30, a(14) = 16, a(18) = 7, a(19) = 3. [From J. Mulder (jasper.mulder(AT)planet.nl), Jan 25 2010]

MATHEMATICA

a[n_] := Block[{i = 1, sum = 0}, While[True, sum += 1/Prime[i]^n; If[PrimeQ[Numerator@sum], Return[i]]; i++ ]] [From J. Mulder (jasper.mulder(AT)planet.nl), Jan 25 2010]

CROSSREFS

Sequence in context: A037126 A080092 A164738 * A056160 A106245 A129568

Adjacent sequences:  A126222 A126223 A126224 * A126226 A126227 A126228

KEYWORD

hard,more,nonn

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Mar 08 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 04:47 EST 2012. Contains 205860 sequences.