login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304650 Number of ways to write n as a product of two positive integers, neither of which is a perfect power. 1

%I #7 May 17 2018 21:36:05

%S 0,0,0,1,0,2,0,0,1,2,0,2,0,2,2,0,0,2,0,2,2,2,0,2,1,2,0,2,0,6,0,0,2,2,

%T 2,5,0,2,2,2,0,6,0,2,2,2,0,2,1,2,2,2,0,2,2,2,2,2,0,8,0,2,2,0,2,6,0,2,

%U 2,6,0,4,0,2,2,2,2,6,0,2,0,2,0,8,2,2,2,2,0,8,2,2,2,2,2,2,0,2

%N Number of ways to write n as a product of two positive integers, neither of which is a perfect power.

%e The a(60) = 8 ways to write 60 as a product of two numbers, neither of which is a perfect power, are 2*30, 3*20, 5*12, 6*10, 10*6, 12*5, 20*3, 30*2.

%t radQ[n_]:=And[n>1,GCD@@FactorInteger[n][[All,2]]===1];

%t Table[Length[Select[Divisors[n],radQ[#]&&radQ[n/#]&]],{n,100}]

%o (PARI) ispow(n) = (n==1) || ispower(n);

%o a(n) = sumdiv(n, d, !ispow(d) && !ispow(n/d)); \\ _Michel Marcus_, May 17 2018

%Y Cf. A000005, A001055, A007427, A007916, A034444, A045778, A162247, A183096, A281116, A301700, A303386, A303707, A304649.

%K nonn

%O 1,6

%A _Gus Wiseman_, May 15 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)