|
%I
%S 0,2,3,5,7,8,10,11,13,15,16,18,19,21,23,24,26,27,29,31,32,34,35,37,39,
%T 40,42,43,45,47,48,50,51,53,55,56,58,59,61,63,64,66,67,69,71,72,74,75,
%U 77,79,80,82,83,85,87,88
%N Numbers that are congruent to {0, 2, 3, 5, 7} mod 8.
%H <a href="/index/Rea#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (1,0,0,0,1,-1).
%F G.f.: x^2*(2+x+2*x^2+2*x^3+x^4)/((1-x)^2*(1+x+x^2+x^3+x^4)). [_Colin Barker_, May 14 2012]
%t Select[Range[0,150],MemberQ[{0,2,3,5,7},Mod[#,8]]&] (* From Harvey P. Dale, Mar 20 2011 *)
%Y Different from A022342.
%K nonn,easy
%O 1,2
%A _N. J. A. Sloane_.
|