OFFSET
1,1
EXAMPLE
61289 is an element of this sequence because A103374(107) = 61289 and 61289 is semiprime because 61289 = 167 * 367 where both 167 and 367 are primes.
MATHEMATICA
SemiprimeQ[n_] := Plus @@ FactorInteger[n][[All, 2]] == 2; k = 6; Do[a[n] = 1, {n, k + 1}]; a[n_] := a[n] = a[n - k] + a[n - k - 1]; Union[Select[Array[a, 160], SemiprimeQ]]
Select[LinearRecurrence[{0, 0, 0, 0, 0, 1, 1}, {1, 1, 1, 1, 1, 1, 1}, 200], PrimeOmega[#]==2&]//Union (* Harvey P. Dale, Sep 02 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Feb 03 2005
EXTENSIONS
Edited and extended by Ray Chandler and Robert G. Wilson v, Feb 06 2005
STATUS
approved