login
Not divisible by 17.
2

%I #15 May 19 2024 20:45:28

%S 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19,20,21,22,23,24,25,26,27,

%T 28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,52,

%U 53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,69,70,71

%N Not divisible by 17.

%H <a href="/index/Rec#order_17">Index entries for linear recurrences with constant coefficients</a>, signature (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1).

%F a(n) = a(n-1)+a(n-16)-a(n-17). G.f. x*(1 +x +x^2 +x^3 +x^4 +x^5 +x^6 +x^7 +x^8 +x^9 +x^10 +x^11 +x^12 +x^13 +x^14 +x^15 +x^16) / ( (1+x) *(1+x^2) *(1+x^4) *(1+x^8) *(x-1)^2 ). - _R. J. Mathar_, Sep 30 2013

%t Complement[Range[100],17Range[Floor[100/17]]] (* _Harvey P. Dale_, Oct 24 2011 *)

%o (Sage) [i for i in range(0,72) if gcd(17, i) == 1]

%K nonn,easy

%O 1,2

%A _Zerinvary Lajos_, May 18 2009