OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 11 2007, May 17 2007
STATUS
approved