login
Numbers that are congruent to {0, 2, 3, 4, 6} mod 7.
0

%I #16 Mar 02 2019 23:48:37

%S 0,2,3,4,6,7,9,10,11,13,14,16,17,18,20,21,23,24,25,27,28,30,31,32,34,

%T 35,37,38,39,41,42,44,45,46,48,49,51,52,53,55,56,58,59,60,62,63,65,66,

%U 67,69,70,72,73,74,76,77,79

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

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

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

%F a(n) = n + A057354(n-2). [_Wesley Ivan Hurt_, Jul 23 2013]

%p seq(k+floor((2/5)*(k-2)),k=1..70); # _Wesley Ivan Hurt_, Jul 23 2013

%t LinearRecurrence[{1,0,0,0,1,-1},{0,2,3,4,6,7},60] (* _Harvey P. Dale_, May 08 2015 *)

%Y Cf. A057354.

%K nonn

%O 1,2

%A _N. J. A. Sloane_