cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A058384 Largest power of 2 which is a divisor of p(n)-1, where p(n) = n-th prime.

This page as a plain text file.
%I A058384 #10 Sep 23 2019 10:44:59
%S A058384 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,
%T A058384 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,
%U A058384 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
%N A058384 Largest power of 2 which is a divisor of p(n)-1, where p(n) = n-th prime.
%H A058384 Amiram Eldar, <a href="/A058384/b058384.txt">Table of n, a(n) for n = 1..10000</a>
%F A058384 a(n) = A006519(A006093(n)). - _Amiram Eldar_, Sep 23 2019
%e A058384 n=25, p(25) - 1 = 97 - 1 = 96 = 32 * 3, so a(25) = 32.
%t A058384 2^IntegerExponent[#,2]&/@(Prime[Range[100]]-1) (* _Harvey P. Dale_, Jan 17 2013 *)
%Y A058384 Cf. A006093, A006519.
%K A058384 nonn
%O A058384 1,2
%A A058384 _Labos Elemer_, Dec 20 2000
%E A058384 Offset corrected by _Amiram Eldar_, Sep 23 2019