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.

A274124 Numbers n such that (product of digits of n) is divisible by (sum of digits of n) and digits of n are in nondecreasing order.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 22, 36, 44, 66, 88, 123, 138, 145, 159, 167, 189, 224, 235, 246, 257, 268, 279, 333, 345, 347, 357, 369, 448, 456, 459, 466, 578, 579, 666, 678, 789, 999, 1124, 1146, 1168, 1225, 1233, 1236, 1247, 1258, 1269, 1344, 1348, 1356, 1368, 1447
Offset: 1

Views

Author

David A. Corneth, Jun 10 2016

Keywords

Comments

Every number with a digit 0 is in A038367. Every permutation of every element of this is in A038367. These elements describe A038367 completely.
Intersection of A038367 and A009994.

Crossrefs

Programs

  • PARI
    is(n) = my(v=vecsort(digits(n))); v==digits(n) && prod(i=1,#v,v[i]) % vecsum(v)==0