OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..46 (terms < 2.5*10^11)
EXAMPLE
sigma(48) = 124 = concat(12,4) and 12 * 4 = 48;
sigma(1196) = 2352 = concat(23,52) = and 23 * 52 = 1196.
MAPLE
with(numtheory): P:=proc(q) local a, b, c, i, n;
for n from 1 to q do c:=sigma(n); for i from 1 to ilog10(c) do
a:=trunc(c/10^i); b:=c-a*10^i; if a*b=n then print(n); break;
fi; od; od; end: P(10^9);
MATHEMATICA
Select[Range[3*10^5], Function[n, Total@ Boole@ Function[k, n == First@ # Last@ # & /@ Map[FromDigits /@ TakeDrop[IntegerDigits@ k, #] &, Range[IntegerLength@ k - 1]]][DivisorSigma[1, n]] > 0]] (* Michael De Vlieger, May 07 2016, Version 10.2 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava, May 06 2016
EXTENSIONS
a(11)-a(28) from Giovanni Resta, May 06 2016
STATUS
approved