OFFSET
1,1
COMMENTS
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. - Jonathan Vos Post, May 13 2010
Also primes such that absolute value of difference between largest digit and the sum of all the other digits is an even integer. This is in accordance with hypothesis of Alexandre Gelfond, proved by C. Mauduit and J. Rivat, see the link below. - Osama Abuajamieh, Feb 10 2017.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
Christian Mauduit and Joël Rivat, Sur un problème de Gelfond: la somme des chiffres des nombres premiers, Annals Math., 171 (2010), 1591-1646.
ScienceDaily, Sum of Digits of Prime Numbers Is Evenly Distributed: New Mathematical Proof of Hypothesis, May 13, 2010.
MATHEMATICA
Select[Prime@ Range@ 113, EvenQ@ Total@ IntegerDigits@ # &] (* Michael De Vlieger, Feb 11 2017 *)
PROG
(PARI) isok(n) = isprime(n) && (sumdigits(n) % 2 == 0); \\ Michel Marcus, Oct 10 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, May 20 2006
STATUS
approved