|
|
A243079
|
|
Numbers n such that A = n - DigitProd(n) is divisible by the largest power of 10 <= A.
|
|
0
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Trivially numbers in A037124 satisfy this but are not contained in this sequence.
|
|
LINKS
|
|
|
EXAMPLE
|
35-3*5 = 20 is divisible by the highest power of 10 below it (10^1). So 20 is a member of this sequence.
|
|
PROG
|
(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, ", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|