cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

99, 1137, 3344, 11558, 22334, 111339, 222233, 1111278, 1112779, 11111478, 11111479, 11112455, 111111447, 111111559, 111111667, 111112278, 111112279, 111113557, 111113677, 111122255, 111135558, 1111111489, 1111112247, 1111113333, 1111116899, 1111145556, 1111555588, 1244455555
Offset: 1

Views

Author

David A. Corneth, Oct 18 2020

Keywords

Comments

Intersection of A009994 and A249335.

Examples

			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.
		

Crossrefs

Programs

  • 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))}