OFFSET
1,4
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
MATHEMATICA
nn = 102; c[_] = 0; Do[k = SelectFirst[Divisors[n], c[#] < # &]; a[n] = k; c[k]++, {n, nn}]; Array[#/a[#] &, nn] (* Michael De Vlieger, Oct 14 2022 *)
PROG
(PARI) { for (n=1, #nb=vector(102), fordiv (n, d, if (nb[d]<d, nb[d]++; print1 (n/d", "); break))) } \\ Rémy Sigrist, Oct 14 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 01 2004
EXTENSIONS
More terms from Franklin T. Adams-Watters, Dec 07 2006
STATUS
approved