OFFSET
1,2
COMMENTS
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..104 (full sequence)
EXAMPLE
Number 93 is in sequence because all divisors of 93 (1, 3, 31, 93) are numbers whose decimal digits are in strictly decreasing order.
MAPLE
with(numtheory): A190219 := proc(n) option remember: local d, dd, i, j, k, m, poten: if(n=1)then return 1: fi: for k from procname(n-1)+1 do d:=divisors(k): poten:=1: for i from 1 to nops(d) do m:=-1: dd:=convert(d[i], base, 10): for j from 1 to nops(dd) do if(m<dd[j])then m:=dd[j]: else poten:=0: break: fi: od: if(poten=0)then break:fi: od: if(poten=1)then return k: fi: od: end: seq(A190219(n), n=1..60); # Nathaniel Johnston, May 06 2011
MATHEMATICA
Select[Range[9000], Max[Flatten[Differences/@(IntegerDigits/@Divisors[#])]]<0&] (* Harvey P. Dale, Feb 22 2024 *)
CROSSREFS
KEYWORD
nonn,fini,full,base
AUTHOR
Jaroslav Krizek, May 06 2011
STATUS
approved