login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A106756
Primes with digit sum = 14.
6
59, 149, 167, 239, 257, 293, 347, 383, 419, 491, 509, 563, 617, 653, 743, 761, 941, 1049, 1193, 1229, 1283, 1319, 1373, 1409, 1427, 1481, 1553, 1571, 1607, 1733, 1823, 1913, 1931, 2039, 2129, 2237, 2273, 2309, 2381, 2417, 2543, 2633, 2741, 2903, 3083
OFFSET
1,1
COMMENTS
Or primes numbers in A114527. - Zak Seidov, May 21 2006
LINKS
FORMULA
Intersection of A000040 (primes) and A235225 (digit sum = 14); also equals { p in A000040 | A007953(p) = 14 }. - M. F. Hasler, Mar 09 2022
MATHEMATICA
Select[Prime[Range[10000]], Total[IntegerDigits[#]]==14 &] (* Vincenzo Librandi, Jul 08 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(4000) | &+Intseq(p) eq 14]; // Vincenzo Librandi, Jul 08 2014
(PARI) select( {is_A106756(n)= sumdigits(n)==14 && isprime(n)}, primes([1, 3333])) \\ M. F. Hasler, Mar 09 2022
CROSSREFS
Cf. A000040 (primes), A007953 (sum of digits), A235225 (digit sum = 14).
Cf. A062339 (same for digit sum s = 4), A106755 (s = 13), A106757 (s = 16), and others listed in A244918 (s = 68).
Sequence in context: A044691 A156796 A183348 * A102168 A142319 A140687
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 16 2005
STATUS
approved