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

 


A171157
Number of distinct primes > 3 that divide n.
1
0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1, 2, 1, 0, 1, 1, 1, 1, 2, 1, 1, 1, 0, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2
OFFSET
1,35
LINKS
FORMULA
a(n) = A001221(n) - A171182(n).
MAPLE
omega := proc(n) nops(numtheory[factorset](n)) ; end proc:
A171182 := proc(n) op(1+ (n mod 6), [2, 0, 1, 1, 1, 0]) ; end proc:
A171157 := proc(n) omega(n)-A171182(n) ; end proc: seq(A171157(n), n=1..120) ; # R. J. Mathar, Dec 09 2009
MATHEMATICA
Table[PrimeNu[n] - (5 + 3*Cos[n*Pi] + 4*Cos[2*n*Pi/3])/6, {n, 1, 100}] (* G. C. Greubel, May 16 2017 *)
PROG
(PARI) for(n=1, 100, print1(round(omega(n) - (5 + 3*cos(n*Pi) + 4*cos(2*n*Pi/3))/6), ", ")) \\ G. C. Greubel, May 16 2017
CROSSREFS
Sequence in context: A228085 A154782 A265196 * A194301 A194341 A171905
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 10:10 EDT 2024. Contains 376097 sequences. (Running on oeis4.)