Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A119491
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A119491 Sum of the first n n-digit primes. +0
2
2, 24, 311, 4062, 50153, 600240, 7000409, 80000960, 900000729, 10000000754, 110000001257, 1200000001154, 13000000002051, 140000000003318, 1500000000003685, 16000000000004454, 170000000000009723 (list; graph; listen)
OFFSET

1,1

LINKS

Robert G. Wilson v, Table of n, a(n) for n = 1..100

EXAMPLE

The first three three-digit primes are: 101, 103 and 107. Their sum is 311. Hence a(3) is 311.

MAPLE

with(numtheory): a:=n->add(ithprime(pi(nextprime(10^(n-1)))+i), i=0..n-1): seq(a(n), n=1..9); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 29 2006

MATHEMATICA

NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ@k, k++ ]; k]; f[n_] := Plus @@ Rest@NestList[NextPrim, 10^(n - 1), n]; Array[f, 18] (* Robert G. Wilson v *)

CROSSREFS

Cf. A114053.

Sequence in context: A052739 A135389 A065513 this_sequence A001864 A099045 A013523

Adjacent sequences: A119488 A119489 A119490 this_sequence A119492 A119493 A119494

KEYWORD

base,nonn

AUTHOR

Tanya Khovanova (tanyakh(AT)yahoo.com), Jul 26 2006

EXTENSIONS

a(5)-a(8) from Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 29 2006

a(9)-a(18) from Robert G. Wilson v (rgwv(at)rgwv.com), Aug 01 2006

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research