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.

A105772 Numbers k such that 7*k + 2 is prime.

This page as a plain text file.
%I A105772 #19 Sep 08 2022 08:45:17
%S A105772 0,3,5,11,15,21,23,27,33,45,47,51,53,57,63,65,71,77,81,93,101,107,117,
%T A105772 123,125,131,135,147,155,161,167,173,183,185,195,197,201,203,207,213,
%U A105772 221,231,251,255,257,267,273,285,287,291,293,297,305,311,315,317,333
%N A105772 Numbers k such that 7*k + 2 is prime.
%H A105772 Michael De Vlieger, <a href="/A105772/b105772.txt">Table of n, a(n) for n = 1..10000</a>
%e A105772 If k=0, then 7*k + 2 = 2 (prime).
%e A105772 If k=63, then 7*63 + 2 = 443 (prime).
%t A105772 Select[Range[0,500],PrimeQ[7#+2]&]  (* _Harvey P. Dale_, Apr 21 2011 *)
%o A105772 (Magma) [n: n in [0..500]| IsPrime(7*n + 2)]; // _Vincenzo Librandi_, Feb 03 2011
%o A105772 (PARI) is(n)=isprime((7*n+2)) \\ _Charles R Greathouse IV_, Feb 17 2017
%K A105772 nonn
%O A105772 1,2
%A A105772 _Parthasarathy Nambi_, May 04 2005
%E A105772 More terms from _Rick L. Shepherd_, May 18 2005