OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from T. D. Noe)
Eric Weisstein's World of Mathematics, Golden Ratio
Eric Weisstein's World of Mathematics, Semiprime
EXAMPLE
589 = 19*31 and abs(19*phi - 31) = abs(30,7426... - 31) < 1, therefore 589 is a term.
MATHEMATICA
f[p_] := Module[{x = GoldenRatio * p}, p1 = NextPrime[x, -1]; p2 = NextPrime[p1]; q = If[x - p1 < p2 - x, p1, p2]; If[Abs[q - x] < 1, q, 0]]; seq = {}; p=1; Do[p = NextPrime[p]; q = f[p]; If[q > 0, AppendTo[seq, p*q]], {100}]; seq (* Amiram Eldar, Nov 28 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 09 2005; revised Jun 13 2005
EXTENSIONS
Corrected by T. D. Noe, Oct 25 2006
STATUS
approved