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.

A127962 Binary expansion of A000979(n).

This page as a plain text file.
%I A127962 #15 Jul 23 2023 06:06:50
%S A127962 11,1011,101011,1010101011,101010101011,1010101010101011,
%T A127962 101010101010101011,1010101010101010101011,
%U A127962 101010101010101010101010101011,101010101010101010101010101010101010101011
%N A127962 Binary expansion of A000979(n).
%H A127962 Amiram Eldar, <a href="/A127962/b127962.txt">Table of n, a(n) for n = 1..20</a>
%F A127962 a(n) = A007088(A000979(n)). - _Amiram Eldar_, Jul 23 2023
%t A127962 b[n_] := FromDigits[IntegerDigits[n, 2]]; b /@ Select[Table[(2^p + 1)/3, {p, Prime[Range[15]]}], PrimeQ] (* _Amiram Eldar_, Jul 23 2023 *)
%o A127962 (Python)
%o A127962 from gmpy2 import divexact
%o A127962 from sympy import prime, isprime
%o A127962 A127962 = [int(bin(p)[2:]) for p in (divexact(2**prime(n)+1,3) for n in range(2,10**2)) if isprime(p)] # _Chai Wah Wu_, Sep 04 2014
%Y A127962 Cf. A000978, A000979, A007088, A124400, A126614, A127936, A127955, A127956, A127957, A127958, A127961.
%K A127962 nonn,base
%O A127962 1,1
%A A127962 _Artur Jasinski_, Feb 09 2007
%E A127962 Edited by _N. J. A. Sloane_, Jun 11 2007