OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..192
FORMULA
EXAMPLE
The number of distinct prime divisors of 57 is 2.
The number of distinct prime divisors of 557 is 1 (prime).
The number of distinct prime divisors of 5557 is 1 (prime).
MAPLE
A104524 := proc(n) local x ; x := [7, seq(5, k=1..n)] ; add(op(i, x)*10^(i-1), i=1..nops(x)) ; numtheory[factorset](%) ; nops(%) ; end proc: # R. J. Mathar, Aug 24 2011
MATHEMATICA
Table[PrimeNu[(50*10^n + 13)/9], {n, 1, 50}](* G. C. Greubel, May 07 2017 *)
Table[PrimeNu[FromDigits[PadLeft[{7}, n, 5]]], {n, 2, 90}] (* Harvey P. Dale, Dec 03 2021 *)
PROG
(PARI) a(n) = omega((5*10^(n+1)+13)/9); \\ Michel Marcus, May 08 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Apr 20 2005
EXTENSIONS
More terms from Michel Marcus, May 08 2017
More terms from Amiram Eldar, Jan 25 2020
STATUS
approved