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!)
A338258 Positive integers with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product but the digital sum is not equal to the digital product. 0

%I #5 Oct 19 2020 04:23:58

%S 99,1137,3344,11558,22334,111339,222233,1111278,1112779,11111478,

%T 11111479,11112455,111111447,111111559,111111667,111112278,111112279,

%U 111113557,111113677,111122255,111135558,1111111489,1111112247,1111113333,1111116899,1111145556,1111555588,1244455555

%N Positive integers with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product but the digital sum is not equal to the digital product.

%C Intersection of A009994 and A249335.

%e 22334 is in the sequence as its digital product is 144 and its digital sum is 14. The digits of the latter two are either 1 or 4 and the values 14 and 144 differ.

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

%Y Cf. A009994, A249335.

%K nonn,base

%O 1,1

%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 April 21 22:54 EDT 2024. Contains 371886 sequences. (Running on oeis4.)