%I #9 Jun 17 2022 18:11:08
%S 1,7,25,122,934,7268,61756,537324,4756645
%N Number of primes in A051351 which have index <= 10^n.
%H <a href="/index/Pri#primepop">Index entries for sequences related to numbers of primes in various ranges</a>
%t NextPrime[ n_Integer ] := Module[ {k}, k = n + 1; While[ ! PrimeQ[ k ], k++ ]; k ]; c = d = p = q = 0; Do[ While[ d++; d <= 10^n, q = NextPrime[ q ]; p = p + Apply[ Plus, RealDigits[ q ] [[ 1 ] ]]; If[ PrimeQ[ p ], c++ ]]; d--; Print[ c ], {n, 0, 10} ]
%Y Cf. A051351 and A058049.
%K nonn
%O 0,2
%A _Robert G. Wilson v_, Nov 27 2000
%E Offset corrected by _Sean A. Irvine_, Jun 17 2022