A255725 Numbers n = concat(x,y) such that the product x*y | n. Leading zeros in y allowed.
11, 12, 15, 24, 36, 101, 102, 104, 105, 110, 120, 125, 150, 208, 240, 306, 315, 360, 735, 1001, 1002, 1004, 1005, 1008, 1010, 1020, 1025, 1040, 1050, 1100, 1125, 1200, 1250, 1352, 1500, 1734, 2016, 2080, 2400, 3006, 3015, 3024, 3060, 3150, 3375, 3600, 6048, 7007
Offset: 1
Examples
15 = concat(1,5); 1*5 = 5 and 15 / 5 = 3. 36 = concat(3,6); 3*6 = 18 and 36 / 18 = 2. 9072 = concat(9,072); 9*72 = 648 and 9072 / 648 = 14.
Links
- Paolo P. Lava and Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1000 terms from Paolo P. Lava)
Programs
-
Maple
with(numtheory); P:=proc(q) local a,b,i,n; for n from 1 to q do for i from 1 to ilog10(n) do a:=trunc(n/10^i); b:=n-a*10^i; if a*b>0 then if type(n/(a*b),integer) then print(n); fi; fi; od; od; end: P(10^9);
-
Mathematica
v[e_]:=Block[{x,y,k}, y+10^e*x /. List@ ToRules@ Reduce[k*x*y == x*10^e+y && k>=0 && x>0 && 0 < y < 10^e, {k,x,y}, Integers]]; upto[nd_] := Select[ Union@ Flatten@ Array[v,nd], # < 10^nd &]; upto[10] (* terms < 10^10, Giovanni Resta, May 26 2015 *)
Comments