The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A062341 Primes whose sum of digits is 5. 11
 5, 23, 41, 113, 131, 311, 401, 1013, 1031, 1103, 1301, 2003, 2111, 3011, 4001, 10103, 10211, 10301, 11003, 12011, 12101, 13001, 20021, 20201, 21011, 21101, 30011, 100103, 101021, 101111, 102101, 103001, 120011, 121001, 200003, 200201, 201011, 201101, 202001 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Harvey P. Dale and Alois P. Heinz, Table of n, a(n) for n = 1..14312 (first 100 terms from Harvey P. Dale) EXAMPLE 1301 is a prime with sum of digits = 5, hence belongs to the sequence. MAPLE T:= n-> `if`(n=1, 5, sort(select(isprime, [seq(seq(seq(     10^(n-1)+1+10^i+10^j+10^k, k=1..j), j=1..i), i=1..n-1),     seq(10^(n-1)+3+10^i, i=1..n-1)]))[]): seq(T(n), n=1..8);  # Alois P. Heinz, Dec 28 2015 MATHEMATICA Select[Prime[Range[20000]], Total[IntegerDigits[#]]==5&] (* Harvey P. Dale, Nov 24 2013 *) PROG (MAGMA) [p: p in PrimesUpTo(250000) | &+Intseq(p) eq 5]; // Vincenzo Librandi, Jul 08 2014 CROSSREFS Cf. similar sequences listed in A244918. Sequence in context: A242215 A061240 A243401 * A176251 A293533 A121308 Adjacent sequences:  A062338 A062339 A062340 * A062342 A062343 A062344 KEYWORD nonn,base,easy AUTHOR Amarnath Murthy, Jun 21 2001 EXTENSIONS Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jul 06 2001 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 11 08:10 EDT 2021. Contains 342886 sequences. (Running on oeis4.)