OFFSET
1,2
EXAMPLE
a(3) = 12/3 = 4, a(4) = 4/4 = 1, a(5) = 15, a(6) = 15/3 = 5.
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Block[{b = GCD[a[n - 1], n]}, If[b > 1, a[n - 1]/b, FromDigits[ Join[ IntegerDigits[ a[n - 1]], IntegerDigits[ n]]]]]; Table[a[n], {n, 1, 20}]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 04 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 04 2003
STATUS
approved