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.

A034936 Numbers k such that 3*k + 4 is prime.

This page as a plain text file.
%I A034936 #39 Sep 08 2022 08:44:52
%S A034936 1,3,5,9,11,13,19,21,23,25,31,33,35,41,45,49,51,53,59,63,65,69,73,75,
%T A034936 79,89,91,93,101,103,109,111,115,121,123,125,131,135,139,143,145,151,
%U A034936 153,161,165,173,179,181,189,191,199,201,203,205,209,213,219,223,229
%N A034936 Numbers k such that 3*k + 4 is prime.
%C A034936 Related to hyperperfect numbers of a certain form.
%H A034936 Daniel Starodubtsev, <a href="/A034936/b034936.txt">Table of n, a(n) for n = 1..10000</a>
%H A034936 J. S. McCranie, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL3/mccranie.html">A study of hyperperfect numbers</a>, J. Int. Seqs. Vol. 3 (2000) #P00.1.3.
%t A034936 lst={};Do[p=n+(n+1)+(n+3);If[PrimeQ[p],AppendTo[lst,n]],{n,5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, May 22 2009 *)
%t A034936 Select[Range[300],PrimeQ[3#+4]&] (* _Harvey P. Dale_, Aug 25 2016 *)
%o A034936 (Magma) [n: n in [1..1000] |IsPrime(3*n+4)] // _Vincenzo Librandi_, Nov 17 2010
%o A034936 (PARI) is(n)=isprime(3*n+4) \\ _Charles R Greathouse IV_, Jul 02 2013
%Y A034936 Cf. A038536 and A002476.
%Y A034936 A002476 gives primes, A091178 gives prime index.
%Y A034936 a(n) = A024892(n) - 1 = 2*A024899(n) - 1.
%Y A034936 a(n) = A153183(n) - 2 = A107303(n) - 3.
%K A034936 nonn,easy
%O A034936 1,2
%A A034936 _Jud McCranie_