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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A338257 Positive integers k with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product. 0
 1, 2, 3, 4, 5, 6, 7, 8, 9, 22, 99, 123, 1124, 1137, 3344, 11125, 11133, 11222, 11558, 22334, 111126, 111339, 222233, 1111127, 1111134, 1111278, 1112779, 11111128, 11111223, 11111478, 11111479, 11112455, 111111129, 111111135, 111111447, 111111559, 111111667, 111112278 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Intersection of A009994 and A249334. LINKS Table of n, a(n) for n=1..38. EXAMPLE 3344 is in the sequence as its digits are in nondecreasing order and the digital sum is 14 and the digital product is 144. The digits of the latter two are either 1 or 4. PROG (PARI) is(n) = {my(d); if(vecsort(d = digits(n)) != d, return(0)); Set(digits(vecprod(d))) == Set(digits(vecsum(d)))} CROSSREFS Cf. A009994, A249334. Sequence in context: A110002 A232709 A249334 * A064158 A064702 A034710 Adjacent sequences: A338254 A338255 A338256 * A338258 A338259 A338260 KEYWORD nonn,base AUTHOR David A. Corneth, Oct 18 2020 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.

Last modified April 14 00:20 EDT 2024. Contains 371652 sequences. (Running on oeis4.)