OFFSET
1,1
MATHEMATICA
(*A119565*) a[0] = 1; a[1] = 2; a[2] = 3; a[3] = 5; a[4] = 7; a[5] = 10; a[n_] := a[n] = Floor[a[n - 1] + 1 + a[n - 2]/6]; Flatten[Table[If[PrimeQ[a[n]], a[n], {}], {n, 0, 300}]]
Select[Join[{1, 2, 3, 5}, RecurrenceTable[{a[4]==7, a[5]==10, a[n] == Floor[ a[n-1]+ 1+a[n-2]/6]}, a, {n, 600}]], PrimeQ] (* Harvey P. Dale, Mar 15 2016 *)
PROG
(PARI) a=concat([1, 2, 3, 5, 7, 10], vector(95)); for(i=7, #a, a[i]=1+a[i-1]+a[i-2]\6); select(isprime, a) \\ Charles R Greathouse IV, Nov 07 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Nov 28 2008
EXTENSIONS
More terms from Harvey P. Dale, Mar 15 2016
STATUS
approved