OFFSET
1,1
COMMENTS
Or primes numbers in A114527. - Zak Seidov, May 21 2006
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..5000
FORMULA
Intersection of A000040 (primes) and A235225 (digit sum = 14); also equals { p in A000040 | A007953(p) = 14 }. - M. F. Hasler, Mar 09 2022
MATHEMATICA
Select[Prime[Range[10000]], Total[IntegerDigits[#]]==14 &] (* Vincenzo Librandi, Jul 08 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(4000) | &+Intseq(p) eq 14]; // Vincenzo Librandi, Jul 08 2014
(PARI) select( {is_A106756(n)= sumdigits(n)==14 && isprime(n)}, primes([1, 3333])) \\ M. F. Hasler, Mar 09 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 16 2005
STATUS
approved