login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024893 Numbers k such that 3*k+2 is prime. 16

%I #22 Sep 08 2022 08:44:48

%S 0,1,3,5,7,9,13,15,17,19,23,27,29,33,35,37,43,45,49,55,57,59,63,65,75,

%T 77,79,83,85,87,89,93,97,103,105,115,117,119,127,129,133,139,143,147,

%U 149,153,155,159,163,167,169,173,185,187,189,195,197,199,205,213,215,217,219,225,227

%N Numbers k such that 3*k+2 is prime.

%H Vincenzo Librandi, <a href="/A024893/b024893.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A087370(n)-1 = A088879(n)+1.

%t Select[Range[0, 250], PrimeQ[3# + 2] &] (* _Vincenzo Librandi_, Sep 25 2012 *)

%o (Magma) [n: n in [0..1000] | IsPrime(3*n+2)]; // _Vincenzo Librandi_, Nov 20 2010

%o (PARI) is(n)=isprime(3*n+2) \\ _Charles R Greathouse IV_, Feb 17 2017

%Y Cf. A003627 (associated primes), A091177 (gives prime index).

%Y Cf. A087370, A088879.

%K nonn,easy

%O 1,3

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 23:49 EDT 2024. Contains 372290 sequences. (Running on oeis4.)