The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A161464 Sum of all digits of primes from n-th prime to (2*n-1)-th prime. 1
 2, 8, 14, 21, 29, 42, 53, 63, 75, 90, 97, 120, 143, 144, 155, 159, 167, 180, 193, 204, 224, 235, 249, 261, 262, 267, 286, 304, 324, 340, 359, 373, 380, 387, 401, 414, 440, 459, 483, 493, 509, 507, 523, 540, 554, 567, 587, 619, 634, 641, 654, 677, 696, 728, 760 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 EXAMPLE 2nd prime to 3rd prime are 3, 5, hence a(2) = 8; 3rd prime to 5th prime are 5, 7, 11, hence a(3) = 14; 4th prime to 7th prime are 7, 11, 13, 17, hence a(4) = 21. MATHEMATICA Module[{nn=60, pr}, pr=Prime[Range[2nn-1]]; Table[Total[Flatten[ IntegerDigits/@ Take[pr, {n, 2n-1}]]], {n, nn}]] (* Harvey P. Dale, Jul 13 2015 *) PROG (MAGMA) [ &+[ &+Intseq(NthPrime(k), 10): k in [n..2*n-1] ]: n in [1..55] ]; // Klaus Brockhaus, Jun 13 2009 CROSSREFS Cf. A000040 (primes), A007605 (sum of digits of n-th prime). Sequence in context: A082930 A064148 A246299 * A211873 A248057 A121055 Adjacent sequences:  A161461 A161462 A161463 * A161465 A161466 A161467 KEYWORD nonn,base AUTHOR Juri-Stepan Gerasimov, Jun 10 2009 EXTENSIONS Edited and extended by Klaus Brockhaus, Jun 13 2009 STATUS approved

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

Last modified May 28 21:37 EDT 2020. Contains 334690 sequences. (Running on oeis4.)
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}