login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of distinct prime divisors of 88...889 (with n 8's).
1

%I #18 Apr 11 2020 22:03:08

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

%T 1,5,6,2,6,4,3,7,5,2,8,7,4,7,5,4,7,3,7,5,3,3,9,6,5,3,3,3,7,3,4,6,4,2,

%U 6,7,5,7,7,4,7,6,4,5,3,4,6,2,2,7,5,3,9,6,4,8,6,7,5,2,5,6,5,5,7,7

%N Number of distinct prime divisors of 88...889 (with n 8's).

%H Amiram Eldar, <a href="/A105255/b105255.txt">Table of n, a(n) for n = 0..225</a>

%F a(n) = A001221(A059482(n+1)). - _Michel Marcus_, Jan 27 2014

%e The number of distinct prime divisors of 89 is 1 (prime).

%e The number of distinct prime divisors of 889 is 2.

%e The number of distinct prime divisors of 8889 is 2.

%t Table[PrimeNu[(8*10^(n + 1) + 1)/9], {n, 0,50}] (* _G. C. Greubel_, May 16 2017 *)

%o (PARI) a(n) = omega((8*10^(n+1)+1)/9); \\ _Michel Marcus_, Jan 27 2014

%Y Cf. A104543.

%K nonn,base

%O 0,3

%A _Parthasarathy Nambi_, Apr 29 2005