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.

A091282 Exponent of 2 in prime(n)^2 - 1.

This page as a plain text file.
%I A091282 #15 Jun 06 2024 03:49:35
%S A091282 0,3,3,4,3,3,5,3,4,3,6,3,4,3,5,3,3,3,3,4,4,5,3,4,6,3,4,3,3,5,8,3,4,3,
%T A091282 3,4,3,3,4,3,3,3,7,7,3,4,3,6,3,3,4,5,5,3,9,4,3,5,3,4,3,3,3,4,4,3,3,5,
%U A091282 3,3,6,4,5,3,3,8,3,3,5,4,3,3,5,5,4,3,7,4,3,5,3,6,4,3,3,4,3,4,3,3,3,3,3,4,3
%N A091282 Exponent of 2 in prime(n)^2 - 1.
%C A091282 Also, exponent of 2 in -1+prime(n)^s if s is an exponent of the form 4k+2 (previous definition). - _Michel Marcus_, Dec 20 2013
%C A091282 Primes that give records for this sequence can be found in A233930. - _Michel Marcus_, Dec 20 2013
%H A091282 Amiram Eldar, <a href="/A091282/b091282.txt">Table of n, a(n) for n = 1..10000</a>
%F A091282 a(n) = A023506(n) + A023512(n). - _Amiram Eldar_, Jun 06 2024
%e A091282 a(1)=0 since -1+2^s is always odd...
%t A091282 IntegerExponent[Prime[Range[100]]^2 - 1, 2] (* _Amiram Eldar_, Jun 06 2024 *)
%o A091282 (PARI) a(n) = valuation(prime(n)^2-1, 2); \\ _Michel Marcus_, Dec 20 2013
%Y A091282 Cf. A007814, A023506, A023512, A091283, A091284.
%K A091282 nonn
%O A091282 1,2
%A A091282 _Labos Elemer_, Jan 20 2004
%E A091282 Definition modified by _Michel Marcus_, Dec 20 2013