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!)
A058384 Largest power of 2 which is a divisor of p(n)-1, where p(n) = n-th prime. 2
1, 2, 4, 2, 2, 4, 16, 2, 2, 4, 2, 4, 8, 2, 2, 4, 2, 4, 2, 2, 8, 2, 2, 8, 32, 4, 2, 2, 4, 16, 2, 2, 8, 2, 4, 2, 4, 2, 2, 4, 2, 4, 2, 64, 4, 2, 2, 2, 2, 4, 8, 2, 16, 2, 256, 2, 4, 2, 4, 8, 2, 4, 2, 2, 8, 4, 2, 16, 2, 4, 32, 2, 2, 4, 2, 2, 4, 4, 16, 8, 2, 4, 2, 16, 2, 2, 64, 8, 4, 2, 2, 2, 2, 2, 2, 2, 4, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A006519(A006093(n)). - Amiram Eldar, Sep 23 2019
EXAMPLE
n=25, p(25) - 1 = 97 - 1 = 96 = 32 * 3, so a(25) = 32.
MATHEMATICA
2^IntegerExponent[#, 2]&/@(Prime[Range[100]]-1) (* Harvey P. Dale, Jan 17 2013 *)
CROSSREFS
Sequence in context: A294354 A144049 A368435 * A255671 A330590 A055097
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 20 2000
EXTENSIONS
Offset corrected by Amiram Eldar, Sep 23 2019
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 April 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)