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!)
A107303 Numbers k such that (3*k - 5) is prime. 4
4, 6, 8, 12, 14, 16, 22, 24, 26, 28, 34, 36, 38, 44, 48, 52, 54, 56, 62, 66, 68, 72, 76, 78, 82, 92, 94, 96, 104, 106, 112, 114, 118, 124, 126, 128, 134, 138, 142, 146, 148, 154, 156, 164, 168, 176, 182, 184, 192, 194, 202, 204, 206, 208, 212, 216, 222, 226, 232 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
3 and 5 are twin primes.
LINKS
EXAMPLE
If k=4, then 3*k - 5 = 7 (prime).
If k=28, then 3*k - 5 = 79 (prime).
MATHEMATICA
Select[Range[2, 250], PrimeQ[3#-5]&] (* Harvey P. Dale, Mar 31 2024 *)
PROG
(Magma) [n: n in [2..300] | IsPrime(3*n-5)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime((3*n-5)) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Cf. A088879.
Equals A153183(n) + 1; also A024892(n) + 2; also A034936(n) + 3;
Sequence in context: A359675 A225508 A235036 * A028876 A271346 A053579
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 20 2005
STATUS
approved

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 7 03:17 EDT 2024. Contains 372300 sequences. (Running on oeis4.)