cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A178183 #27 Feb 08 2025 13:12:14
%S A178183 1,2,4,7,7,12,13,16,16,13,18,12,11,6,4,1,0
%N A178183 a(n) = number of 3-digit primes with digit sum n, where n runs through the non-multiples of 3 in the range [2..26].
%H A178183 BigPrimes.net, <a href="http://www.bigprimes.net/sum-of-digits/">Digit sums of primes</a>
%e A178183 Digit-sums of 3-digit primes
%e A178183 Sum     count
%e A178183 2       1
%e A178183 4       2
%e A178183 5       4
%e A178183 7       7
%e A178183 8       7
%e A178183 10      12
%e A178183 11      13
%e A178183 13      16
%e A178183 14      16
%e A178183 16      13
%e A178183 17      18
%e A178183 19      12
%e A178183 20      11
%e A178183 22      6
%e A178183 23      4
%e A178183 25      1
%e A178183 26      0
%t A178183 Join[SortBy[Tally[Total[IntegerDigits[#]]&/@Prime[Range[26,168]]],First][[;;,2]],{0}] (* _Harvey P. Dale_, Feb 08 2025 *)
%Y A178183 For 2- through 9-digit primes the counts are in A177868, A178183, A178447, A178571, A178605, A178876, A178879, A178884.
%Y A178183 Cf. 3rd row of A178701.
%K A178183 nonn,base,fini,full
%O A178183 1,2
%A A178183 _N. J. A. Sloane_, Dec 28 2010