Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

1,5

Table of n, a(n) for n=1..93.

a(n)=A007605(n)-A104250(n)

a(6)=1 because sum of composie (nonprime) digits of Prime[6]=13 is 1.

Sum of prime digits (2, 3, 5, 7) of n-th prime: A104250. Primes: A000040, sum of digits of primes: A007605.

Sequence in context: A155718 A256168 A054768 * A153731 A262226 A154989

Adjacent sequences: A104248 A104249 A104250 * A104252 A104253 A104254

nonn,base

Zak Seidov, Feb 26 2005

approved