login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = number of 4-digit primes with digit sum n, where n runs through the non-multiples of 3 in the range [2..34].
4

%I #10 Mar 30 2012 16:51:57

%S 0,4,8,20,19,31,52,67,77,93,101,116,95,92,91,63,51,29,30,16,5,0,1

%N a(n) = number of 4-digit primes with digit sum n, where n runs through the non-multiples of 3 in the range [2..34].

%H BigPrimes.net, <a href="//http://www.bigprimes.net/sum-of-digits/">Digit sums of primes</a>

%e Digit-sums of 4-digit primes

%e Sum count

%e 2 0

%e 4 4

%e 5 8

%e 7 20

%e 8 19

%e 10 31

%e 11 52

%e 13 67

%e 14 77

%e 16 93

%e 17 101

%e 19 116

%e 20 95

%e 22 92

%e 23 91

%e 25 63

%e 26 51

%e 28 29

%e 29 30

%e 31 16

%e 32 5

%e 34 0

%e 35 1

%K nonn,base,fini,full

%O 1,2

%A _N. J. A. Sloane_, Dec 28 2010