OFFSET
1,1
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..1000
EXAMPLE
306 = concat(3, 06) and 306 / 3 = 102 and 306 / 6 = 51.
76152 = concat(76, 152) and 76152 / 76 = 1002 and 76152 / 152 = 501.
MAPLE
with(numtheory):P:=proc(q) local a, b, k, n;
for n from 1 to q do for k from 1 to ilog10(n) do a:=n mod 10^k; b:=trunc(n/10^k);
if a*b>0 then if type(n/a, integer) and type(n/b, integer) then print(n); break;
fi; fi; od; od; end: P(10^6);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava, Nov 05 2014
STATUS
approved