A172016 Numbers of the form 6*k-+1 such that 6*k-1=nonprime and 6*k+1=prime.
35, 37, 65, 67, 77, 79, 95, 97, 125, 127, 155, 157, 161, 163, 209, 211, 221, 223, 275, 277, 305, 307, 329, 331, 335, 337, 365, 367, 371, 373, 377, 379, 395, 397, 407, 409, 437, 439, 455, 457, 485, 487, 497, 499, 539, 541, 545, 547, 575, 577, 605, 607, 611
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[#+{-1,1}&/@(6Range[200]),CompositeQ[#[[1]]]&&PrimeQ[#[[2]]]&]// Flatten (* Harvey P. Dale, Nov 19 2019 *)
Extensions
Entries checked by R. J. Mathar, Apr 14 2010