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!)
A107743 Numbers m such that m+(digit sum of m) is a composite number. 3
2, 3, 4, 5, 6, 7, 8, 9, 12, 15, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 54, 55, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 93 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A047791.
LINKS
EXAMPLE
A062028(21)=21+(2+1)=24=2*2*2*3, therefore 21 is a term.
MATHEMATICA
Select[Range[100], CompositeQ[#+Total[IntegerDigits[#]]]&] (* Harvey P. Dale, Oct 12 2016 *)
PROG
(Haskell)
a107743 n = a107743_list !! (n-1)
a107743_list = filter ((== 0) . a010051' . a062028) [1..]
-- Reinhard Zumkeller, Sep 27 2014
CROSSREFS
Cf. A010051.
Sequence in context: A322511 A171827 A322002 * A116066 A261874 A334929
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 23 2005
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)