OFFSET
1,2
COMMENTS
Numbers coprime to 165. The asymptotic density of this sequence is 16/33. - Amiram Eldar, Oct 23 2020
LINKS
Bruno Berselli, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).
FORMULA
a(n) = a(n-1) + a(n-80) - a(n-81) for n > 81. - Bruno Berselli, Mar 25 2014
MATHEMATICA
Select[Range[200], Mod[#, 3] > 0 && Mod[#, 5] > 0 && Mod[#, 11] > 0 &] (* or *) Select[Range[200], Or @@ Divisible[#, {3, 5, 11}] == False &] (* Bruno Berselli, Mar 24 2014 *)
Select[Range[130], CoprimeQ[165, #] &] (* Amiram Eldar, Oct 23 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Oleg P. Kirillov, Jan 20 2014
STATUS
approved