The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A338257 Positive integers k with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product. 0

%I #7 Oct 19 2020 04:23:47

%S 1,2,3,4,5,6,7,8,9,22,99,123,1124,1137,3344,11125,11133,11222,11558,

%T 22334,111126,111339,222233,1111127,1111134,1111278,1112779,11111128,

%U 11111223,11111478,11111479,11112455,111111129,111111135,111111447,111111559,111111667,111112278

%N Positive integers k with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product.

%C Intersection of A009994 and A249334.

%e 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.

%o (PARI) is(n) = {my(d); if(vecsort(d = digits(n)) != d, return(0)); Set(digits(vecprod(d))) == Set(digits(vecsum(d)))}

%Y Cf. A009994, A249334.

%K nonn,base

%O 1,2

%A _David A. Corneth_, Oct 18 2020

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 May 30 01:30 EDT 2024. Contains 372954 sequences. (Running on oeis4.)