[go: up one dir, main page]

login
Primes with digit sum = 43.
4

%I #7 Sep 08 2022 08:45:18

%S 79999,89899,89989,98899,179899,179989,189799,189997,198997,268999,

%T 277999,286999,288979,288997,289789,289897,289987,297889,298897,

%U 299977,358999,368899,369979,369997,378997,379699,386989,387799,388699,388789

%N Primes with digit sum = 43.

%H Vincenzo Librandi, <a href="/A106775/b106775.txt">Table of n, a(n) for n = 1..5400</a>

%t Select[Prime[Range[35000]], Total[IntegerDigits[#]]==43 &] (* _Vincenzo Librandi_, Jul 09 2014 *)

%o (Magma) [p: p in PrimesUpTo(400000) | &+Intseq(p) eq 43]; // _Vincenzo Librandi_, Jul 09 2014

%Y Cf. similar sequences listed in A244918.

%K nonn,base

%O 1,1

%A _Zak Seidov_, May 16 2005