A057941 Number of prime factors of 3^n + 1 (counted with multiplicity).
2, 2, 3, 2, 3, 3, 3, 3, 5, 4, 4, 3, 3, 4, 6, 2, 5, 4, 4, 3, 7, 4, 3, 6, 5, 4, 7, 4, 5, 6, 4, 2, 7, 4, 5, 4, 5, 4, 8, 5, 4, 7, 3, 5, 10, 4, 5, 4, 5, 8, 9, 4, 4, 5, 7, 6, 8, 4, 4, 7, 4, 5, 13, 2, 5, 6, 4, 5, 9, 9, 7, 8, 4, 5, 12, 6, 6, 7, 5, 5, 12, 5, 6, 10, 9, 7, 11, 6, 5, 9, 8, 4, 9, 4, 8, 6, 5, 9, 14, 6, 4
Offset: 1
Keywords
Links
- Max Alekseyev, Table of n, a(n) for n = 1..691 (first 658 terms from Amiram Eldar)
- S. S. Wagstaff, Jr., The Cunningham Project
Crossrefs
Programs
-
Mathematica
PrimeOmega[3^Range[110]+1] (* Harvey P. Dale, Jun 20 2015 *)
-
PARI
a(n)=bigomega(n^3+1) \\ Charles R Greathouse IV, Sep 14 2015