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.

A062519 Numbers for which (product of digits) / (sum of digits) is an integer > 1.

Original entry on oeis.org

36, 44, 63, 66, 88, 138, 145, 154, 159, 167, 176, 183, 189, 195, 198, 224, 235, 242, 246, 253, 257, 264, 268, 275, 279, 286, 297, 318, 325, 333, 345, 347, 352, 354, 357, 369, 374, 375, 381, 396, 415, 422, 426, 435, 437, 448, 451, 453, 456, 459, 462, 465
Offset: 1

Views

Author

Amarnath Murthy, Jun 26 2001

Keywords

Examples

			63 is a member as (6*3)/(6+3) = 2 > 1.
		

Crossrefs

Sequence A061013 allows product = sum.

Programs

  • Mathematica
    pdsdQ[n_]:=Module[{idn=IntegerDigits[n],r},r=Times@@idn/Total[idn];IntegerQ[ r]&&r>1]; Select[Range[500],pdsdQ] (* Harvey P. Dale, Dec 22 2019 *)
  • PARI
    ok(n)={my(d=digits(n), p=vecprod(d), s=vecsum(d)); p > s && p%s == 0} \\ Andrew Howroyd, Sep 17 2024

Extensions

Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jun 29 2001
Offset changed by Andrew Howroyd, Sep 17 2024