The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A133801 Number of distinct prime divisors of 3^n - 1. 15
1, 1, 2, 2, 2, 3, 2, 3, 3, 3, 3, 5, 2, 3, 4, 5, 3, 6, 3, 5, 4, 5, 3, 7, 4, 3, 6, 6, 4, 8, 4, 6, 5, 6, 5, 9, 3, 5, 6, 7, 4, 8, 3, 8, 8, 4, 5, 12, 7, 7, 6, 6, 4, 11, 6, 9, 7, 7, 3, 12, 3, 6, 6, 7, 6, 10, 4, 9, 6, 8, 2, 12, 5, 6, 9, 8, 7, 12, 4, 11, 9, 6, 5, 14, 6, 4, 8, 12, 4, 16, 5, 7, 7, 8, 6, 15, 4, 10, 8 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A182576 A368869 A128330 * A372433 A181630 A112310
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 06:48 EDT 2024. Contains 372743 sequences. (Running on oeis4.)