OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Prime Factor.
FORMULA
a(n) = omega(3^n - 1) = A001221(3^n - 1).
EXAMPLE
a(4) = omega(3^4 - 1) = omega(80) = omega(2^4 * 5) = 2.
MATHEMATICA
Table[PrimeNu[3^n - 1], {n, 1, 50}] (* G. C. Greubel, May 21 2017 *)
PROG
(PARI) for(n = 1, 100, print1(omega(3^n - 1), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ryan Propper, Jan 06 2008
EXTENSIONS
Terms to a(660) in b-file from Amiram Eldar, Feb 03 2020
a(661)-a(690) in b-file from Max Alekseyev, May 22 2022
STATUS
approved