The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A169611 Number of prime divisors of n that are not greater than 3, counted with multiplicity. 11

%I #21 Jan 16 2022 09:19:11

%S 0,1,1,2,0,2,0,3,2,1,0,3,0,1,1,4,0,3,0,2,1,1,0,4,0,1,3,2,0,2,0,5,1,1,

%T 0,4,0,1,1,3,0,2,0,2,2,1,0,5,0,1,1,2,0,4,0,3,1,1,0,3,0,1,2,6,0,2,0,2,

%U 1,1,0,5,0,1,1,2,0,2,0,4,4,1,0,3,0,1,1,3,0,3,0,2,1,1,0,6,0,1,2,2,0,2,0,3,1

%N Number of prime divisors of n that are not greater than 3, counted with multiplicity.

%H Reinhard Zumkeller, <a href="/A169611/b169611.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A001222(n) - A106799(n).

%F a(n) = A007814(n) + A007949(n). - _R. J. Mathar_, Dec 04 2009

%F a(n) = A001222(A065331(n)). - _Reinhard Zumkeller_, Nov 19 2015

%F Asymptotic mean: lim_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 3/2. - _Amiram Eldar_, Jan 16 2022

%p A169611 := proc(n) local f; a := 0 ; for f in ifactors(n)[2] do if op(1,f) <= 3 then a := a+op(2,f) ; end if; end do: return a; end proc: seq(A169611(n),n=1..100) ; # _R. J. Mathar_, Dec 04 2009

%t f[n_] := Plus @@ Last /@ Select[ FactorInteger@ n, 1 < #[[1]] < 4 &]; Array[f, 105] (* _Robert G. Wilson v_, Dec 19 2009 *)

%o (PARI) A169611(n)=valuation(n,2)+valuation(n,3) \\ _M. F. Hasler_, Aug 24 2012

%o (Haskell)

%o a169611 = a001222 . a065331 -- _Reinhard Zumkeller_, Nov 19 2015

%Y Cf. A001222, A106799.

%Y Cf. A007814, A007949, A065331.

%K nonn

%O 1,4

%A _Juri-Stepan Gerasimov_, Dec 03 2009

%E Definition corrected by _M. F. Hasler_, Aug 24 2012

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 June 7 02:59 EDT 2024. Contains 373140 sequences. (Running on oeis4.)