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!)
A199717 Numbers k such that 6*k-1 is composite, but 6*k-5 is prime. 1
6, 11, 13, 24, 26, 27, 31, 34, 36, 41, 46, 48, 56, 57, 62, 63, 69, 71, 73, 88, 91, 92, 96, 97, 101, 102, 104, 106, 111, 116, 119, 122, 123, 126, 132, 136, 139, 154, 166, 167, 171, 173, 174, 176, 178, 179, 187, 188, 189, 193, 196, 201, 206, 207, 209, 216, 221 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Range[221], PrimeQ[6 # - 5] && ! PrimeQ[6 # - 1] &] (* T. D. Noe, Nov 09 2011 *)

PROG

(MAGMA) [ p div 6 +1: p in PrimesUpTo(1326) | not IsPrime(p+4) and p mod 6 eq 1 ];  // Bruno Berselli, Nov 09 2011

(PARI) is(n)=isprime(6*n-5) && !isprime(6*n-1) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Cf. A186243.

Sequence in context: A315372 A315373 A154293 * A068308 A163871 A201915

Adjacent sequences:  A199714 A199715 A199716 * A199718 A199719 A199720

KEYWORD

nonn,easy

AUTHOR

Eleonora Echeverri-Toro, Nov 09 2011

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 August 16 03:24 EDT 2022. Contains 356150 sequences. (Running on oeis4.)