OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..500
FORMULA
Let k be the number of members of A089581 that are <= n; then a(n) = A034386(n)/A099788(k). - David Wasserman, Jan 25 2005
MATHEMATICA
a = {1}; Do[AppendTo[a, If[PrimeQ[n], a[[-1]]*n, If[Divisible[a[[-1]], n], a[[-1]]/n, a[[-1]]]]], {n, 2, 32}]; a (* Ivan Neretin, May 21 2015 *)
PROG
(PARI) print1(k=1); for(n=2, 99, if(isprime(n), k*=n, if(k%n==0, k/=n)); print1(", "k)) \\ Charles R Greathouse IV, May 21 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jul 02 2003
EXTENSIONS
More terms from David Wasserman, Jan 25 2005
STATUS
approved