login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A152235
Largest squarefree number dividing the number of divisors n.
3
1, 2, 2, 3, 2, 2, 2, 2, 3, 2, 2, 6, 2, 2, 2, 5, 2, 6, 2, 6, 2, 2, 2, 2, 3, 2, 2, 6, 2, 2, 2, 6, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 6, 6, 2, 2, 10, 3, 6, 2, 6, 2, 2, 2, 2, 2, 2, 2, 6, 2, 2, 6, 7, 2, 2, 2, 6, 2, 2, 2, 6, 2, 2, 6, 6, 2, 2, 2, 10, 5, 2, 2, 6, 2, 2, 2, 2, 2, 6, 2, 6, 2, 2, 2, 6, 2, 6, 6, 3, 2, 2, 2, 2, 2
OFFSET
1,2
FORMULA
a(n) = rad(tau(n)) = A007947(A000005(n)).
MATHEMATICA
f[n_] := Last@ Select[ Divisors@ DivisorSigma[0, n], SquareFreeQ@# &]; Array[f, 105] (* Robert G. Wilson v, Dec 23 2008 *)
PROG
(Magma) [ 1 ] cat [ &*[ k[1]: k in Factorization(NumberOfDivisors(n)) ]: n in [2..105] ]; // Klaus Brockhaus, Dec 03 2008
(PARI) for(n=1, 50, print1(factorback(factorint(numdiv(n))[, 1]), ", ")) \\ G. C. Greubel, Jul 13 2017; corrected by Amiram Eldar, Sep 01 2019
CROSSREFS
Sequence in context: A071188 A078545 A163105 * A278966 A374383 A123582
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Nov 30 2008
EXTENSIONS
Extended by Klaus Brockhaus, Dec 03 2008
STATUS
approved