A255726 Numbers n = concat(x,y) such that the product x*y | n. No leading zeros in y allowed.
11, 12, 15, 24, 36, 110, 120, 125, 150, 240, 315, 360, 735, 1100, 1125, 1200, 1250, 1352, 1500, 1734, 2400, 3150, 3375, 3600, 7350, 11000, 11250, 12000, 12500, 13520, 14112, 15000, 17340, 18144, 21168, 24000, 31500, 33750, 36000, 42336, 63504, 67335, 73500, 91125
Offset: 1
Examples
11 = concat(1,1); 1*1 = 1 and 11 / 1 = 11. 12 = concat(3,6); 1*2 = 2 and 12 / 2 = 6. 240 = concat(2,40); 2*40 = 80 and 240 / 80 = 3.
Links
- Paolo P. Lava and Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 200 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 i=ilog10(b)+1 then if a*b>0 then if type(n/(a*b),integer) then print(n); fi; 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 && 10^(e-1) <= 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