OFFSET
1,2
EXAMPLE
a(3) = 12/3 = 4 a(4) = 4/4 = 1, a(5) = 15.
MATHEMATICA
Transpose[NestList[{#[[1]]+1, If[Divisible[#[[2]], #[[1]]+1], #[[2]]/ (#[[1]]+ 1), FromDigits[Flatten[Join[IntegerDigits[#[[2]]], IntegerDigits[ #[[1]]+ 1]]]]]}&, {1, 1}, 20]][[2]] (* Harvey P. Dale, Apr 25 2012 *)
PROG
(PARI) f=1; for(i=1, 40, if(f%i==0, f=f/i, f=eval(concat(Str(f), i))); print1(f, ", ")) - Lambert Herrgesell (zero815(AT)googlemail.com), Mar 13 2006
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 04 2003
EXTENSIONS
More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Mar 13 2006
STATUS
approved