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”).

A129069
Numbers k such that (k-3)/2 is prime.
1
7, 9, 13, 17, 25, 29, 37, 41, 49, 61, 65, 77, 85, 89, 97, 109, 121, 125, 137, 145, 149, 161, 169, 181, 197, 205, 209, 217, 221, 229, 257, 265, 277, 281, 301, 305, 317, 329, 337, 349, 361, 365, 385, 389, 397, 401, 425, 449, 457, 461, 469, 481, 485, 505, 517, 529
OFFSET
1,1
FORMULA
a(n) = 2*prime(n) + 3. - Zak Seidov, May 12 2007
EXAMPLE
For n=7, (7-3)/2 = 2 which is prime so 7 is the first entry.
MATHEMATICA
Select[Range[550], PrimeQ[(#-3)/2]&] (* Harvey P. Dale, Feb 09 2011 *)
PROG
(PARI) g(m) = forprime(p=2, m, n=2*p+3; print1(n", "))
CROSSREFS
Cf. A000040.
Sequence in context: A196091 A329166 A222945 * A258616 A125866 A027692
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 11 2007, May 17 2007
STATUS
approved