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!)
A103591 Smallest number m such that Sum_{k=1..m} 1/prime(k) >= n/2. 10
1, 3, 10, 59, 1413, 361139, 4833601540, 43922730588128390 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(2n) = A046024(n). - Michel Marcus, Aug 22 2013
MATHEMATICA
Table[m = 1; s = 0; While[(s = s + 1/Prime[m]) < n/2, m++];
m, {n, 1, 5}] (* Robert Price, Mar 27 2019 *)
PROG
(PARI) a(n) = my(s = 0, k = 1); while ((s += 1/prime(k)) < n/2, k++); k \\ Michel Marcus, Aug 22 2013
CROSSREFS
Sequence in context: A159321 A181077 A158873 * A245312 A018932 A111562
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
a(7) from Robert Price, Dec 10 2013
a(8) derived from A046024 by Robert Price, Dec 10 2013
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 July 11 20:23 EDT 2024. Contains 374234 sequences. (Running on oeis4.)