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!)
A088737 Number of semiprime divisors of n-th composite number. 2

%I #10 Jun 22 2020 04:48:35

%S 1,1,1,1,1,2,1,1,1,2,2,1,1,2,1,1,1,2,3,1,1,1,1,3,1,1,2,3,2,2,1,2,1,2,

%T 1,2,2,1,2,1,1,4,1,2,1,1,3,2,1,3,3,1,2,2,1,3,2,1,1,4,1,1,1,2,4,1,2,1,

%U 1,1,2,2,2,3,3,2,3,1,3,3,1,2,3,1,2,2,1,1,4,1,1,1,2,1,4,1,1,3,4,1,1,2

%N Number of semiprime divisors of n-th composite number.

%H Robert Israel, <a href="/A088737/b088737.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A056170(n) + A001221(n)*(A001221(n)-1)/2.

%p f:= proc(n) local p, t;

%p p:= numtheory:-factorset(n);

%p t:= nops(p);

%p t*(t-1)/2 + nops(select(m-> n mod m^2=0, p))

%p end proc:

%p map(f, remove(isprime,[$4..200])); # _Robert Israel_, May 21 2020

%t a[n_] := Count[FactorInteger[n], {_, k_ /; k>1}]+PrimeNu[n](PrimeNu[n]-1)/2;

%t a /@ Select[Range[200], CompositeQ] (* _Jean-François Alcover_, Jun 22 2020 *)

%Y Cf. A088738, A002808, A001358.

%K nonn

%O 1,6

%A _Reinhard Zumkeller_, Oct 12 2003

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 May 9 09:10 EDT 2024. Contains 372347 sequences. (Running on oeis4.)