# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a109066 Showing 1-1 of 1 %I A109066 #21 Mar 15 2019 21:58:14 %S A109066 1,1,1,1,0,1,1,0,2,1,1,2,0,1,1,2,1,0,1,1,2,1,1,0,1,0,1,1,0,1,2,1,2,1, %T A109066 0,1,2,1,1,2,1,0,0,1,1,0,1,3,3,2,3,2,1,2,3,2,1,2,3,1,2,2,2,1,2,2,2,3, %U A109066 2,1,3,2,2,3,2,2,1,2,0,0,0,1,1,2,1,1,0,2,0,1,1,1,1,0,0,2,1,2,3,1,2,3,2,1,2 %N A109066 Number of prime digits in n-th prime. %C A109066 The prime A000040(n) is in A034844 iff a(n) = 0; it is in A179336 iff a(n) > 0. [_Reinhard Zumkeller_, Jul 11 2010, corrected by _M. F. Hasler_, Aug 27 2012] %H A109066 Reinhard Zumkeller, Table of n, a(n) for n = 1..10000 %F A109066 a(n) = A193238(A000040(n)). [_Reinhard Zumkeller_, Jul 19 2011] %t A109066 a[n_]:=Count[PrimeQ/@IntegerDigits[Prime[n]], True] %o A109066 (PARI) a(n) = vecsum(apply(x->isprime(x), digits(prime(n)))); \\ _Michel Marcus_, Mar 15 2019 %Y A109066 Cf. A019546 (primes whose digits are primes), A092629 (number of prime digits is nonprime), A104250 (sum of prime digits of n-th prime). %Y A109066 Cf. A000040, A034844, A179336. %K A109066 base,nonn %O A109066 1,9 %A A109066 _Zak Seidov_, Jun 17 2005 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE