OFFSET
1,3
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..809 (n = 1..100 from Peter Kagey)
FORMULA
a(2n + 1) = 2 for all n > 1.
a(n) is even for all n > 2.
EXAMPLE
a(1) = 1 by definition
a(2) = 1 because a(1) divides 2.
a(3) = 1 * 2 = 2 because a(1) and a(2) divide 3.
a(4) = 1 * 2 * 3 = 6 because a(1), a(2), and a(3) divide 4.
a(5) = 1 * 2 = 2 because a(1) and a(2) divide 5.
MATHEMATICA
a = {1}; Do[AppendTo[a, Times @@ Flatten@ Position[a, m_ /; Divisible[n, m]]], {n, 2, 35}]; a (* Michael De Vlieger, Apr 09 2016 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Kagey, Apr 08 2016
STATUS
approved