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”).

A284476
Smallest number with same factorization shape as n.
2
1, 2, 2, 4, 2, 6, 2, 4, 4, 6, 2, 12, 2, 6, 6, 16, 2, 12, 2, 12, 6, 6, 2, 12, 4, 6, 4, 12, 2, 30, 2, 4, 6, 6, 6, 36, 2, 6, 6, 12, 2, 30, 2, 12, 12, 6, 2, 48, 4, 12, 6, 12, 2, 12, 6, 12, 6, 6, 2, 60, 2, 6, 12, 64, 6, 30, 2, 12, 6, 30, 2, 36, 2, 6, 12, 12, 6, 30
OFFSET
1,2
COMMENTS
A284456 defines the factorization shape of a number.
A284456 corresponds to the fixed points of this sequence.
LINKS
FORMULA
To compute a(n):
1) Factorize n: n = p_1^e_1 * ... * p_k^e_k,
2) Compute a(e_i) for i=1..k,
3) Sort the values computed at step 2 in descending order (keeping duplicates): you obtain, say, f_1 >= ... >= f_k,
4) a(n) = Prod_{i=1..k} prime(i)^f_i.
PROG
(PARI) a(n) = my (f=factor(n)); \
my (x=vecsort(vector(#f~, i, a(f[i, 2])), , 4)); \
return (prod(i=1, #x, prime(i)^x[i]))
CROSSREFS
Cf. A284456.
Sequence in context: A054704 A143525 A086087 * A082174 A278235 A074369
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Mar 27 2017
STATUS
approved