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”).

A106762
Primes with digit sum = 23.
5
599, 797, 887, 977, 1499, 1697, 1787, 1877, 1949, 2399, 2579, 2687, 2777, 2939, 2957, 3299, 3389, 3659, 3677, 3767, 3929, 3947, 4289, 4397, 4649, 4793, 4919, 4937, 4973, 5099, 5189, 5279, 5297, 5387, 5477, 5639, 5657, 5693, 5783, 5927, 5981, 6089, 6197
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[1000]], Total[IntegerDigits[#]]==23 &] (* Vincenzo Librandi, Jul 08 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | &+Intseq(p) eq 23]; // Vincenzo Librandi, Jul 08 2014
(PARI) select(x->sumdigits(x)==23, primes(1000)) \\ Michel Marcus, Jul 08 2014
CROSSREFS
Cf. similar sequences listed in A244918.
Sequence in context: A035209 A356531 A135847 * A158277 A250937 A261701
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 16 2005
STATUS
approved