login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A159251 Composite numbers whose digit sum is a single-digit prime. 1
12, 14, 16, 20, 21, 25, 30, 32, 34, 50, 52, 70, 102, 104, 106, 110, 111, 115, 120, 122, 124, 133, 140, 142, 160, 200, 201, 203, 205, 210, 212, 214, 221, 230, 232, 250, 300, 302, 304, 320, 322, 340, 403, 410, 412, 430, 500, 502, 511, 520, 610, 700, 1001, 1002 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers of (2..6)-digit terms are 12,40,105,260,543. [From Zak Seidov, Apr 12 2009]
LINKS
EXAMPLE
250 is a composite number whose digit sum of 7 is a single-digit prime.
MATHEMATICA
s={}; Do[t=Total[IntegerDigits[n]]; If[ !PrimeQ[n]&&(t-2)(t-3)(t-5)(t-7)== 0, AppendTo[s, n]], {n, 7*10^3}]; s [From Zak Seidov, Apr 12 2009]
CROSSREFS
Cf. A002808 (composite numbers), A157496.
Sequence in context: A096923 A141642 A163622 * A208156 A135770 A091989
KEYWORD
nonn,base,easy,less
AUTHOR
Parthasarathy Nambi, Apr 06 2009
EXTENSIONS
Extended, minor edits and keywords easy, less added by Klaus Brockhaus, Apr 12 2009
More terms from Zak Seidov, Apr 12 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)