OFFSET
1,1
COMMENTS
Number of distinct prime factors of (10^(n + 1) - 1)*5/9 - 4. - Stefan Steinerberger, Mar 06 2006
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..200
FORMULA
EXAMPLE
The number of distinct prime divisors of 51 is 2 which is the first term in the sequence.
The number of distinct prime divisors of 551 is 2 which is the second term in the sequence.
The number of distinct prime divisors of 5551 is 3 which is the third term in the sequence.
MAPLE
f:= n -> nops(numtheory:-factorset( (10^(n + 1) - 1)*5/9 - 4)):
map(f, [$1..92]); # Robert Israel, Mar 08 2018
MATHEMATICA
Table[Length[FactorInteger[(10^(n + 1) - 1)*5/9 - 4]], {n, 1, 50}] (* Stefan Steinerberger, Mar 06 2006 *)
PROG
(Magma) [#PrimeDivisors((10^(n+1)-1)*5 div 9-4): n in [1..80]]; // Vincenzo Librandi, Mar 09 2018
(PARI) a(n) = omega((10^(n + 1) - 1)*5/9 - 4); \\ Michel Marcus, Mar 09 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Apr 19 2005
EXTENSIONS
More terms from Stefan Steinerberger, Mar 06 2006
a(51)-a(92), and offset corrected, by Robert Israel, Mar 08 2018
STATUS
approved