The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A109628 Numbers k such that the numerator of Sum_{i=1..k} 1/prime(i), in reduced form, is prime. 7
2, 3, 5, 6, 18, 19, 22, 47, 57, 58, 63, 70, 73, 112, 632, 1382 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Terms <= 112 correspond to certified primes.
Numbers k such that the arithmetic derivative of the k-th primorial, A024451(k) [= A003415(A002110(k))] is prime. - Antti Karttunen, Jan 09 2024
LINKS
EXAMPLE
Sum_{i=1..6} 1/prime(i) = 40361/30030 and 40361 is prime, hence 6 is a term.
MATHEMATICA
s = 0; Do[s += 1/Prime[n]; k = Numerator[s]; If[PrimeQ[k], Print[n]], {n, 1, 1500}]
Position[Accumulate[1/Prime[Range[120]]], _?(PrimeQ[ Numerator[ #]]&)] //Flatten (* To generate terms greater than 120, increase the Range constant, but the program may take much longer to run. *) (* Harvey P. Dale, Jan 01 2019 *)
CROSSREFS
Positions of primes in A024451.
Sequence in context: A126250 A293027 A276353 * A192367 A227230 A102977
KEYWORD
hard,more,nonn
AUTHOR
Ryan Propper, Aug 02 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 00:29 EDT 2024. Contains 372921 sequences. (Running on oeis4.)