%I #44 Jul 03 2021 05:43:43
%S 3,5,7,23,29,41,43,47,61,67,83,89,113,131,137,139,151,157,173,179,191,
%T 193,197,199,223,227,229,241,263,269,281,283,311,313,317,331,337,353,
%U 359,373,379,397,401,409,421,443,449,461,463,467,487,557,571,577,593
%N Primes with odd digit sum.
%C On average, there are as many prime numbers for which the sum of decimal digits is even as prime numbers for which it is odd [A119450]. This hypothesis, first made in 1968, has recently been proved by researchers from the Institut de Mathematiques de Luminy.
%C Also primes such that absolute value of difference between largest digit and the sum of all the other digits is an odd integer. This is in accordance with hypothesis of Alexandre Gelfond, proved by C. Mauduit and J. Rivat as stated in Links section. - _Osama Abuajamieh_, Feb 10 2017
%C Considering the sequence digit sums, when prime, new maximum digit sums encounter the prime numbers themselves in order. This of course implies that, for any largest considered prime Pmax in this sequence, there will exist a larger entry P2 with digit sum = Pmax. Note the data available for such scrutiny grows very slowly - considering primes through 10^12 only attains digit sum to (prime) 97. Additionally, a parallel observation can be drawn about the behavior of companion sequence A119449. Also, this sequence appears to be a subset of A156756. - _Bill McEachen_, Mar 26 2017
%H T. D. Noe, <a href="/A119450/b119450.txt">Table of n, a(n) for n = 1..10000</a>
%H Christian Mauduit and Joël Rivat, <a href="http://dx.doi.org/10.4007/annals.2010.171.1591">Sur un problème de Gelfond: la somme des chiffres des nombres premiers</a>, Annals Math., 171 (2010), 1591-1646.
%H ScienceDaily, <a href="http://www.sciencedaily.com/releases/2010/05/100512172533.htm">Sum of Digits of Prime Numbers Is Evenly Distributed: New Mathematical Proof of Hypothesis</a>, May 13, 2010.
%F a(n) = A000040(A200260(n)). - _Jon Maiga_, Jul 03 2021
%p select(t -> isprime(t) and convert(convert(t,base,10),`+`)::odd, [seq(i,i=3..1000,2)]); # _Robert Israel_, Feb 13 2017
%t Select[Prime@ Range@ 108, OddQ@ Total@ IntegerDigits@ # &] (* _Michael De Vlieger_, Feb 11 2017 *)
%o (PARI) is(n)=isprime(n) && sumdigits(n)%2 \\ _Charles R Greathouse IV_, Feb 14 2017
%Y Primes with even digit sum A119449.
%Y Cf. A000040, A200260.
%K base,nonn
%O 1,1
%A _Zak Seidov_, May 20 2006