OFFSET
1,2
LINKS
Nathaniel Johnston and Jaroslav Krizek, Table of n, a(n) for n = 1..163 (complete list)
EXAMPLE
Number 135 is in sequence because all divisors of 135 (1, 3, 5, 9, 15, 27, 45, 135) are numbers whose decimal digits are in strictly increasing order.
MAPLE
with(numtheory): A190218 := 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:=10: 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(A190218(n), n=1..62); # Nathaniel Johnston, May 06 2011
MATHEMATICA
Select[Range[250], And@@Positive[Flatten[Differences/@(IntegerDigits/@Divisors[#])]]&] (* Harvey P. Dale, Mar 24 2012 *)
CROSSREFS
KEYWORD
nonn,fini,full,base
AUTHOR
Jaroslav Krizek, May 06 2011
STATUS
approved