OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
MATHEMATICA
cnd[n_]:=Module[{ds=DivisorSigma[0, n]}, n*10^IntegerLength[ds]+ds]; Array[ cnd, 60] (* Harvey P. Dale, Aug 22 2019 *)
PROG
(PARI) digitsIn(x)= { local(d); if (x==0, return(1)); d=1 + log(x)\log(10); if (10^d == x, d++, if (10^(d-1) > x, d--)); return(d) }
Concat(a, b)= { return(a*10^digitsIn(b) + b) }
{ for (n=1, 1000, a=Concat(n, numdiv(n)); write("b065998.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 06 2009
(PARI) a(n) = fromdigits(concat(digits(n), digits(numdiv(n)))); \\ Michel Marcus, Apr 02 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jeff Burch, Feb 28 2001
STATUS
approved