OFFSET
1,1
LINKS
Pierre CAMI, Table of n, a(n) for n = 1..10000
EXAMPLE
q(1)=5 5*(5+7)-1=59 prime so a(1)=7
q(2)=11 11*(11+7)=197 prime so a(2)=7
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 14 2008
STATUS
approved