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.

A121762 Single (or isolated or non-twin) primes of form 6n-1.

This page as a plain text file.
%I A121762 #23 Sep 08 2022 08:45:27
%S A121762 23,47,53,83,89,113,131,167,173,233,251,257,263,293,317,353,359,383,
%T A121762 389,401,443,449,467,479,491,503,509,557,563,587,593,647,653,677,683,
%U A121762 701,719,743,761,773,797,839,863,887,911,929,941,947,953,971,977,983,1013
%N A121762 Single (or isolated or non-twin) primes of form 6n-1.
%C A121762 Subsequence of A007528. - _Michel Marcus_, Apr 26 2015
%H A121762 Zak Seidov, <a href="/A121762/b121762.txt">Table of n, a(n) for n = 1..10000</a>
%t A121762 Select[Table[6n - 1, {n, 200}], PrimeQ[ # ] && ! PrimeQ[ # + 2] &] (* _Ray Chandler_, Aug 22 2006 *)
%o A121762 (PARI) is(n)=n%6==5 && isprime(n) && !isprime(n+2) \\ _Charles R Greathouse IV_, Apr 04 2016
%o A121762 (Magma) [n: n in [1..1050] | (n mod 6 eq 5) and not IsPrime(n+2) and  IsPrime(n)]; // _G. C. Greubel_, Feb 26 2019
%o A121762 (Sage) [n for n in (1..1050) if mod(n,6)==5 and not is_prime(n+2) and  is_prime(n)] # _G. C. Greubel_, Feb 26 2019
%Y A121762 Cf. A007510, A121763, A007528, A121764.
%K A121762 nonn
%O A121762 1,1
%A A121762 _Lekraj Beedassy_, Aug 20 2006
%E A121762 Extended by _Ray Chandler_, Aug 22 2006