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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073866 a(n) is the smallest composite number with the sum of digits = the n-th composite number. 1
4, 6, 8, 9, 28, 39, 68, 69, 88, 99, 299, 399, 589, 699, 799, 899, 999, 2899, 3999, 5999, 6999, 7999, 9899, 9999, 29999, 39999, 58999, 69999, 89999, 99999, 299899, 399999, 499999, 689999, 699999, 889999, 999999, 1999999, 3899999, 3999999, 5899999, 6999999, 8999999, 9999999 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..44.

EXAMPLE

a(5) = 28, because 10 is the 5th composite, and 28 is the first composite with sum of digits equal to 10. - Michel Marcus, May 19 2014

PROG

(PARI) lista(nn) = {vn = vector(nn, i, i); vc = select(x->iscomp(x), vn); vsd = vector(#vc, i, sumdigits(vc[i])); for (i=1, #vc, print1(vc[select(x->(x==vc[i]), vsd, 1)[1]], ", "); ); } \\ Michel Marcus, May 19 2014

CROSSREFS

Cf. A002808, A073868, A075360.

Sequence in context: A287198 A099071 A156673 * A202260 A001744 A113624

Adjacent sequences:  A073863 A073864 A073865 * A073867 A073868 A073869

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Aug 15 2002

EXTENSIONS

More terms from Michel Marcus, May 19 2014

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 13:01 EDT 2020. Contains 334748 sequences. (Running on oeis4.)