A167746 Number of prime divisors of A001222 (counted with multiplicity), with a(1) = 1 by convention.
1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 2, 0, 1, 0, 1, 1, 1, 0, 2, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 2, 0, 1, 1, 2, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 2, 0, 1, 1, 2, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 2, 1, 0, 2, 1, 1, 1, 2, 0, 2, 1, 1, 1, 1, 1, 2, 0, 1, 1, 2, 0, 1, 0, 2, 1
Offset: 1
Keywords
Links
Crossrefs
Cf. A001222.
Programs
-
Mathematica
Array[If[# == 1, 1, Nest[PrimeOmega, #, 2]] &, 105] (* Michael De Vlieger, Jul 29 2017 *)
-
PARI
a(n) = if (n==1, 1, bigomega(bigomega(n))); \\ Michel Marcus, Jul 28 2017
-
Scheme
(define (A167746 n) (if (= 1 n) 1 (A001222 (A001222 n)))) ;; Antti Karttunen, Jul 28 2017
Formula
Extensions
Name clarified by Antti Karttunen, Jul 28 2017
Comments