login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138628
Positive integers k such that 17*k-7 is prime.
1
4, 10, 12, 22, 24, 30, 34, 40, 48, 52, 54, 60, 72, 78, 88, 90, 100, 114, 118, 130, 132, 138, 144, 150, 160, 172, 178, 184, 192, 198, 204, 208, 214, 220, 222, 240, 250, 262, 264, 268, 270, 274, 282, 288, 292, 298, 312, 318, 324, 328, 342, 354, 358, 360, 372
OFFSET
1,1
LINKS
EXAMPLE
17*4-7=61, 17*10-7=163, 17*12-7=197, 17*22-7=367, ...
MATHEMATICA
a={}; Do[x=17*n-7; If[PrimeQ[x], AppendTo[a, n]], {n, 10^2}]; a
Select[Range[400], PrimeQ[17#-7]&] (* Harvey P. Dale, Jan 06 2011 *)
PROG
(Magma) [k:k in [1..372]|IsPrime(17*k-7)]; // Marius A. Burtea, Feb 12 2020
CROSSREFS
Sequence in context: A310345 A310346 A080285 * A050868 A007319 A352213
KEYWORD
nonn
AUTHOR
EXTENSIONS
Extended by Harvey P. Dale, Jan 06 2011
STATUS
approved