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.

A243079 Numbers n such that A = n - DigitProd(n) is divisible by the largest power of 10 <= A.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 35, 55, 62, 64, 66, 68, 75, 95, 236, 315, 324, 575, 612, 828, 935, 944, 4384, 5175, 7688, 7735, 8128, 8672, 9135, 9144, 9575, 91575
Offset: 1

Views

Author

Derek Orr, May 30 2014

Keywords

Comments

Trivially numbers in A037124 satisfy this but are not contained in this sequence.

Examples

			35-3*5 = 20 is divisible by the highest power of 10 below it (10^1). So 20 is a member of this sequence.
		

Crossrefs

Programs

  • PARI
    DP(n)={p=1; d=digits(n); for(i=1, #d, p*=d[i]); return(p)}
    for(k=1,10^7,if(n%10!=0&&(n-DP(n))%(10^(#Str(n-DP(n))-1))==0,print1(n,", ")))