login
A129074
Numbers n such that (n-9)/8 is prime.
1
25, 33, 49, 65, 97, 113, 145, 161, 193, 241, 257, 305, 337, 353, 385, 433, 481, 497, 545, 577, 593, 641, 673, 721, 785, 817, 833, 865, 881, 913, 1025, 1057, 1105, 1121, 1201, 1217, 1265, 1313, 1345, 1393, 1441, 1457, 1537, 1553, 1585, 1601, 1697, 1793, 1825
OFFSET
1,1
LINKS
FORMULA
a(n) = 8*prime(n) + 9. - Zak Seidov, May 12 2007
EXAMPLE
For n=25, (25-9)/8 = 2 which is prime so 25 is the first entry.
MATHEMATICA
Select[Range[2000], PrimeQ[(#-9)/8]&] (* or *) 8*Prime[Range[50]]+9 (* Harvey P. Dale, Dec 26 2017 *)
PROG
(PARI) g(m) = forprime(p=2, m, n=8*p+9; print1(n", "))
CROSSREFS
Cf. A000040.
Sequence in context: A211466 A269345 A134099 * A188443 A068411 A020160
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 11 2007, May 17 2007
STATUS
approved