OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
MAPLE
digitsum:= n -> convert(convert(n, base, 10), `+`):
select(t -> digitsum(t)=19 and isprime(t), [seq(6*n+1, n=1..10000)]); # Robert Israel, Jul 08 2014
MATHEMATICA
Select[Prime[Range[500]], Total[IntegerDigits[#]]==19&] (* Harvey P. Dale, Mar 11 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(4000) | &+Intseq(p) eq 19]; // Vincenzo Librandi, Jul 08 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 16 2005
STATUS
approved