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.

A088766 a(n) = (A087681(n)-1)/2.

This page as a plain text file.
%I A088766 #23 Sep 08 2022 08:45:12
%S A088766 5,6,8,11,12,17,18,23,26,32,33,36,38,47,51,53,66,71,72,78,86,92,93,
%T A088766 102,108,116,117,122,128,131,137,138,143,171,176,186,197,201,207,212,
%U A088766 213,218,227,236,242,246,248,257,281,296,303,306,312,318,323,326,333,366
%N A088766 a(n) = (A087681(n)-1)/2.
%C A088766 Numbers k such that 2*k + 1 - 6 and 2*k + 1 + 6 are sexy primes. [_Jonathan Vos Post_, Feb 14 2011]
%H A088766 Vincenzo Librandi, <a href="/A088766/b088766.txt">Table of n, a(n) for n = 1..7600</a>
%F A088766 {k such that 2*k + 1 - 6 is in A023201} = {k such that 2*k + 1 + 6 is in A046117}.
%e A088766 1002 is in the sequence because 2*1002 + 1 - 6 = 1999 is prime, and 2*1002 + 1 + 6 = 2011 is prime.
%t A088766 Select[Range[3, 1000], PrimeQ[2 # + 5] && PrimeQ[2 # - 7] &] - 1 (* _Vincenzo Librandi_, May 20 2017 *)
%o A088766 (Magma) [n-1: n in [3..400] |IsPrime(2*n+5) and IsPrime(2*n-7)]; // _Vincenzo Librandi_, May 20 2017
%Y A088766 Cf. A023201, A046117, A087681, A088762, A088764, A088765, A088768, A088770, A186243.
%K A088766 nonn
%O A088766 1,1
%A A088766 _Ray Chandler_, Oct 26 2003