login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057521 Powerful (1) part of n: if n = Product_i (pi^ei) then a(n) = Product_{i : ei > 1} (pi^ei); if n=b*c^2*d^3 then a(n)=c^2*d^3 when b is minimized. 29

%I

%S 1,1,1,4,1,1,1,8,9,1,1,4,1,1,1,16,1,9,1,4,1,1,1,8,25,1,27,4,1,1,1,32,

%T 1,1,1,36,1,1,1,8,1,1,1,4,9,1,1,16,49,25,1,4,1,27,1,8,1,1,1,4,1,1,9,

%U 64,1,1,1,4,1,1,1,72,1,1,25,4,1,1,1,16,81,1,1,4,1,1,1,8,1,9,1,4,1,1,1,32,1

%N Powerful (1) part of n: if n = Product_i (pi^ei) then a(n) = Product_{i : ei > 1} (pi^ei); if n=b*c^2*d^3 then a(n)=c^2*d^3 when b is minimized.

%H T. D. Noe, <a href="/A057521/b057521.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Pow#powerful">Index entries for sequences related to powerful numbers</a>

%F a(n) = n / A055231(n).

%F Multiplicative with a(p)=1 and a(p^e)=p^e for e>1. - _Vladeta Jovovic_, Nov 01 2001

%F From _Antti Karttunen_, Nov 22 2017: (Start)

%F a(n) = A064549(A003557(n)).

%F A003557(a(n)) = A003557(n).

%F (End)

%e a(40) = 8 since 40 = 2^3 * 5 so the powerful part is 2^3 = 8.

%p A057521 := proc(n)

%p local a,d,e,p;

%p a := 1;

%p for d in ifactors(n)[2] do

%p e := d[1] ;

%p p := d[2] ;

%p if e > 1 then

%p a := a*p^e ;

%p end if;

%p end do:

%p return a;

%p end proc: # _R. J. Mathar_, Jun 09 2016

%t rad[n_] := Times @@ First /@ FactorInteger[n]; a[n_] := n/Denominator[n/rad[n]^2]; Table[a[n], {n, 1, 97}] (* _Jean-Fran├žois Alcover_, Jun 20 2013 *)

%o (PARI) a(n)=my(f=factor(n));prod(i=1,#f~,if(f[i,2]>1,f[i,1]^f[i,2],1)) \\ _Charles R Greathouse IV_, Aug 13 2013

%o (Python)

%o from sympy import factorint, prod

%o def a(n): return 1 if n==1 else prod(1 if e==1 else p**e for p, e in factorint(n).items())

%o print([a(n) for n in range(1, 51)]) # _Indranil Ghosh_, Jul 19 2017

%Y Cf. A001694, A003557, A055231, A064549.

%K nonn,mult

%O 1,4

%A _Henry Bottomley_, Sep 01 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 8 04:16 EDT 2020. Contains 335504 sequences. (Running on oeis4.)