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.

A125661 Primes p such that p + next prime = 2^k for some k.

This page as a plain text file.
%I A125661 #11 Dec 19 2024 21:17:38
%S A125661 3,61,4093,75557863725914323419121,
%T A125661 3064991081731777716716694054300618367237478244367204187
%N A125661 Primes p such that p + next prime = 2^k for some k.
%C A125661 The next term is too large to include - see the b-file.
%H A125661 Hans Havermann, <a href="/A125661/b125661.txt">Table of n, a(n) for n = 1..6</a>
%e A125661 3+5=8=2^3
%e A125661 61+67=128=2^7
%t A125661 Select[Prime[Range[10^6]],Total[IntegerDigits[#+NextPrime[#],2]]==1&] (* _James C. McMahon_, Dec 19 2024 *)
%Y A125661 Cf. A091624.
%K A125661 nonn
%O A125661 1,1
%A A125661 _J. M. Bergot_, Feb 02 2007
%E A125661 Corrected by _N. J. A. Sloane_, Feb 05 2007
%E A125661 Extended by _Hans Havermann_, Feb 05 2007