login

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

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

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

%S 0,5,21,95,138,420,773,1747,2329,4616,6456,10496,12743,18710,22447,

%T 29209,32075,38631,41150,44442,44915,44025,42891,37872,35177,28462,

%U 24722,18033,15169,9903,7611,4220,3227,1599,959,387,283,87,31,4,1

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

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

%e Digit-sums of 7-digit primes

%e Sum count

%e 2 0

%e 4 5

%e 5 21

%e 7 95

%e 8 138

%e 10 420

%e 11 773

%e 13 1747

%e 14 2329

%e 16 4616

%e 17 6456

%e 19 10496

%e 20 12743

%e 22 18710

%e 23 22447

%e 25 29209

%e 26 32075

%e 28 38631

%e 29 41150

%e ...

%K nonn,base,fini,full

%O 1,2

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