This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A104247 Primes that are the sum of digits of n first primes for some n. 3

%I

%S 2,5,17,19,23,31,41,61,71,83,181,269,389,419,449,631,683,727,743,809,

%T 929,1039,1061,1069,1091,1277,1381,1481,1567,1613,1747,1873,1951,1993,

%U 2039,2129,2281,2297,2339,2381,2549,2579

%N Primes that are the sum of digits of n first primes for some n.

%H M. F. Hasler, <a href="/A104247/b104247.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n)=A007605(1)+...+A007605(A058049(n))

%e a(4)=19 because A058049(4)= 5 and sum of digits of 5 first primes, 2+3+5+7+(1+1)=19 is prime.

%p P:=proc(q) local a,b,n; a:=0; b:=[]; for n from 1 to q do a:=a+convert(convert(ithprime(n),base,10),`+`);

%p if isprime(a) then b:=[op(b),a]; fi; od; op(b); end: P(200); # _Paolo P. Lava_, Sep 27 2018

%Y Corresponding n's: A058049. Primes: A000040, sum of digits of primes: A007605.

%Y Cf. A051351, A075544.

%K nonn,base

%O 1,1

%A _Zak Seidov_, Feb 26 2005

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 January 22 05:11 EST 2019. Contains 319353 sequences. (Running on oeis4.)