OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..159
FORMULA
a(n) = A001221((23*100^n-23)/99). - R. J. Mathar, Aug 24 2011
EXAMPLE
Number of distinct prime factors of 23 is 1 (prime).
Number of distinct prime factors of 2323 is 2.
Number of distinct prime factors of 232323 is 5.
MAPLE
A104658 := proc(n) local x ; x := 23 ; for j from 2 to n do x := 100*x+23 ; end do; numtheory[factorset](%) ; nops(%) ; end proc: # R. J. Mathar, Aug 24 2011
MATHEMATICA
Table[PrimeNu[FromDigits[PadRight[{}, 2n, {2, 3}]]], {n, 40}] (* or *) PrimeNu[NestList[100#+23&, 23, 40]] (* Harvey P. Dale, May 21 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Apr 21 2005
EXTENSIONS
More terms from Amiram Eldar, Oct 03 2024
STATUS
approved