A071364 Smallest number with same sequence of exponents in canonical prime factorization as n.
1, 2, 2, 4, 2, 6, 2, 8, 4, 6, 2, 12, 2, 6, 6, 16, 2, 18, 2, 12, 6, 6, 2, 24, 4, 6, 8, 12, 2, 30, 2, 32, 6, 6, 6, 36, 2, 6, 6, 24, 2, 30, 2, 12, 12, 6, 2, 48, 4, 18, 6, 12, 2, 54, 6, 24, 6, 6, 2, 60, 2, 6, 12, 64, 6, 30, 2, 12, 6, 30, 2, 72, 2, 6, 18, 12, 6, 30, 2, 48, 16, 6, 2, 60, 6, 6, 6, 24
Offset: 1
Keywords
Examples
a(105875) = a(5*5*5*7*11*11) = 2*2*2*3*5*5 = 600.
Links
- Daniel Forgues, Table of n, a(n) for n=1..100000
Crossrefs
Programs
-
Haskell
a071364 = product . zipWith (^) a000040_list . a124010_row -- Reinhard Zumkeller, Feb 19 2012
-
Mathematica
Table[ e = Last /@ FactorInteger[n]; Product[Prime[i]^e[[i]], {i, Length[e]}], {n, 88}] (* Ray Chandler, Sep 23 2005 *)
-
PARI
a(n) = f = factor(n); for (i=1, #f~, f[i,1] = prime(i)); factorback(f); \\ Michel Marcus, Jun 13 2014
-
Python
from math import prod from sympy import prime, factorint def A071364(n): return prod(prime(i+1)**p[1] for i,p in enumerate(sorted(factorint(n).items()))) # Chai Wah Wu, Sep 16 2022
Formula
In prime factorization of n, replace least prime by 2, next least by 3, etc.
Extensions
Extended by Ray Chandler, Sep 23 2005
Comments