A106766 Primes with digit sum = 29.
2999, 3989, 4799, 4889, 5879, 5897, 5987, 6599, 6689, 6779, 6869, 6959, 6977, 7499, 7589, 7877, 7949, 8597, 8669, 8849, 8867, 9479, 9497, 9587, 9677, 9749, 9767, 9839, 9857, 9929, 12899, 13799, 13997, 14699, 14879, 14897, 14969, 15797, 15887, 15959
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..7900
Crossrefs
Programs
-
Magma
[p: p in PrimesUpTo(16000) | &+Intseq(p) eq 29]; // Vincenzo Librandi, Jul 08 2014
-
Mathematica
Select[Prime[Range[10000]], Total[IntegerDigits[#]]==29 &] (* Vincenzo Librandi, Jul 08 2014 *)
-
PARI
select(x->sumdigits(x)==29, primes(2000))
Comments