login
Numbers that are congruent to {0, 1, 4, 5, 6} mod 7.
0

%I #19 Mar 08 2020 04:06:23

%S 0,1,4,5,6,7,8,11,12,13,14,15,18,19,20,21,22,25,26,27,28,29,32,33,34,

%T 35,36,39,40,41,42,43,46,47,48,49,50,53,54,55,56,57,60,61,62,63,64,67,

%U 68,69,70,71,74,75,76,77,78

%N Numbers that are congruent to {0, 1, 4, 5, 6} mod 7.

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

%F G.f.: x^2*(1 + 3*x + x^2 + x^3 + x^4) / ( (1 + x + x^2 + x^3 + x^4)*(x-1)^2 ). - _R. J. Mathar_, Dec 03 2011

%t Select[Range[0,100],MemberQ[{0,1,4,5,6},Mod[#,7]]&] (* _Harvey P. Dale_, Jun 18 2012 *)

%K nonn

%O 1,3

%A _N. J. A. Sloane_