OFFSET
1,1
COMMENTS
See "conjecture generalized" at A184774.
EXAMPLE
The sequence U(n)=floor(n*r+h) begins with
2,3,5,6,8,10,11,13,15,16,18,19,...,
which includes the primes U(1)=2, U(2)=3,...
MATHEMATICA
r=(1+5^(1/2))/2; h=1/2; s=r/(r-1);
a[n_]:=Floor [n*r+h];
Table[a[n], {n, 1, 120}] (* A007067 *)
t1={}; Do[If[PrimeQ[a[n]], AppendTo[t1, a[n]]], {n, 1, 600}]; t1
t2={}; Do[If[PrimeQ[a[n]], AppendTo[t2, n]], {n, 1, 600}]; t2
t3={}; Do[If[MemberQ[t1, Prime[n]], AppendTo[t3, n]], {n, 1, 300}]; t3
Select[Floor[GoldenRatio*Range[600]+1/2], PrimeQ] (* Harvey P. Dale, Jan 02 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 23 2011
STATUS
approved