[go: up one dir, main page]

login
A062502
Number of prime divisors (with repetition) of the nonprimes (including 1).
7
0, 2, 2, 3, 2, 2, 3, 2, 2, 4, 3, 3, 2, 2, 4, 2, 2, 3, 3, 3, 5, 2, 2, 2, 4, 2, 2, 4, 3, 3, 3, 2, 5, 2, 3, 2, 3, 4, 2, 4, 2, 2, 4, 2, 3, 6, 2, 3, 3, 2, 3, 5, 2, 3, 3, 2, 3, 5, 4, 2, 4, 2, 2, 2, 4, 4, 2, 3, 2, 2, 2, 6, 3, 3, 4, 3, 4, 3, 2, 5, 3, 2, 5, 3, 2, 3, 3, 2, 2, 5, 2, 2, 2, 3, 3, 4, 7, 2, 3, 4, 2, 2, 4, 4, 3
OFFSET
1,2
LINKS
FORMULA
a(n) = A001222(A018252(n)). - Sean A. Irvine, Mar 31 2023
MAPLE
f:= proc(n) if not isprime(n) then numtheory:-bigomega(n) fi end proc:
map(f, [$1..200]); # Robert Israel, Oct 01 2020
MATHEMATICA
PrimeOmega/@Complement[Range[200], Prime[Range[PrimePi[200]]]] (* Harvey P. Dale, Apr 22 2011 *)
PROG
(PARI) je=[]; for(n=1, 300, if(isprime(n), n+1, x=bigomega(n); je=concat(je, x))); je
CROSSREFS
Sequence in context: A087159 A366922 A218800 * A141242 A130451 A130285
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 09 2001
STATUS
approved