login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086257 Number of primitive prime factors of 2^n+1. 6
1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 2, 3, 1, 1, 2, 2, 1, 2, 2, 3, 2, 2, 2, 3, 1, 1, 2, 2, 1, 2, 1, 4, 2, 2, 1, 3, 3, 2, 2, 2, 2, 2, 2, 2, 3, 1, 1, 4, 1, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 4, 1, 3, 3, 4, 1, 2, 3, 4, 5, 2, 1, 4, 1, 3, 3, 3, 3, 1, 2, 3, 2, 1, 4, 3, 2, 4, 1, 4, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,15
COMMENTS
A prime factor of 2^n+1 is called primitive if it does not divide 2^r+1 for any r<n. Zsigmondy's theorem says that there is at least one primitive prime factor except for n=3. See A086258 for those n that have a record number of primitive prime factors.
LINKS
Max Alekseyev, Table of n, a(n) for n = 0..1122 (terms 0..500 from T. D. Noe; terms 501..1062 from Amiram Eldar)
Eric Weisstein's World of Mathematics, Zsigmondy Theorem
FORMULA
For n > 0, a(n) = A086251(2*n). - Max Alekseyev, Sep 06 2022
EXAMPLE
a(14) = 2 because 2^14+1 = 5*29*113 and 29 and 113 do not divide 2^r+1 for r < 14.
MATHEMATICA
nMax=200; pLst={}; Table[f=Transpose[FactorInteger[2^n+1]][[1]]; f=Complement[f, pLst]; cnt=Length[f]; pLst=Union[pLst, f]; cnt, {n, 0, nMax}]
CROSSREFS
Excluding a(0) = 1, forms a bisection of A086251.
Cf. A046799 (number of distinct prime factors of 2^n+1), A054992 (number of prime factors, with repetition, of 2^n+1), A086258.
Sequence in context: A214054 A330739 A076398 * A161098 A354999 A136177
KEYWORD
hard,nonn
AUTHOR
T. D. Noe, Jul 14 2003
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 December 11 13:16 EST 2023. Contains 367727 sequences. (Running on oeis4.)