(MAGMAMagma) [p: p in PrimesUpTo(100000) | &+Intseq(p) eq 40]; // Vincenzo Librandi, Jul 09 2014
(MAGMAMagma) [p: p in PrimesUpTo(100000) | &+Intseq(p) eq 40]; // Vincenzo Librandi, Jul 09 2014
reviewed
approved
proposed
reviewed
editing
proposed
(MAGMA) [p: p in PrimesUpTo(100000) | &+Intseq(p) eq 40]; // Vincenzo Librandi, Jul 09 2014
Cf. similar sequences listed in A244918.
approved
editing
editing
approved
Harvey P. Dale, <a href="/A106773/b106773.txt">Table of n, a(n) for n = 1..1000</a>
Select[Prime[Range[10000]], Total[IntegerDigits[#]]==40&] (* Harvey P. Dale, Jul 19 2012 *)
approved
editing
_Zak Seidov (zakseidov(AT)yahoo.com), _, May 16 2005
Primes with digit sum = 40.
49999, 68899, 69997, 77899, 78889, 78979, 79699, 79987, 85999, 88789, 88897, 88969, 89599, 89689, 89779, 89797, 89959, 89977, 94999, 95989, 96799, 96979, 96997, 97789, 97879, 97987, 98689, 98779, 98869, 98887, 99679, 99787, 99859
1,1
nonn,base
Zak Seidov (zakseidov(AT)yahoo.com), May 16 2005
approved