login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047326 Numbers that are congruent to {0, 1, 2, 5, 6} mod 7. 0

%I

%S 0,1,2,5,6,7,8,9,12,13,14,15,16,19,20,21,22,23,26,27,28,29,30,33,34,

%T 35,36,37,40,41,42,43,44,47,48,49,50,51,54,55,56,57,58,61,62,63,64,65,

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

%N Numbers that are congruent to {0, 1, 2, 5, 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*(1 + x + 3*x^2 + x^3 + x^4) / ( (1 + x + x^2 + x^3 + x^4)*(x-1)^2 ). - _R. J. Mathar_, Dec 04 2011

%t DeleteCases[Range[0,100],_?(MemberQ[{3,4},Mod[#,7]]&)] (* or *) LinearRecurrence[ {1,0,0,0,1,-1},{0,1,2,5,6,7},90] (* _Harvey P. Dale_, Aug 06 2018 *)

%K nonn

%O 1,3

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 21:38 EDT 2021. Contains 348034 sequences. (Running on oeis4.)