OFFSET
1,2
COMMENTS
The asymptotic density of this sequence is 24/35. - 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 (0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1).
MATHEMATICA
Select[Range[100], GCD[#, 35] == 1 &] (* Bruno Berselli, Mar 27 2014 *)
PROG
(Sage) [i for i in range(100) if gcd(i, 35) == 1] # Bruno Berselli, Mar 27 2014
(Magma) [n: n in [1..100] | GCD(n, 35) eq 1]; // Bruno Berselli, Mar 27 2014
(Haskell)
a235933 n = a235933_list !! (n-1)
a235933_list = filter ((== 1) . gcd 35) [1..]
-- Reinhard Zumkeller, Mar 27 2014
CROSSREFS
Cf. A160547 (numbers coprime to 31), A229968 (numbers coprime to 33), A204458 (numbers coprime to 34), A007310 (numbers coprime to 36).
KEYWORD
nonn,easy
AUTHOR
Oleg P. Kirillov, Jan 17 2014
EXTENSIONS
Signature corrected from Georg Fischer, Feb 07 2021
Erroneous recurrence removed from Bruno Berselli, Feb 08 2021
STATUS
approved