OFFSET
1,35
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
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 *)
Table[Count[FactorInteger[n][[;; , 1]], _?(#>3&)], {n, 110}] (* Harvey P. Dale, Nov 16 2024 *)
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
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 04 2009
STATUS
approved