login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047367 Numbers that are congruent to {0, 1, 3, 4, 5} mod 7. 1
0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 17, 18, 19, 21, 22, 24, 25, 26, 28, 29, 31, 32, 33, 35, 36, 38, 39, 40, 42, 43, 45, 46, 47, 49, 50, 52, 53, 54, 56, 57, 59, 60, 61, 63, 64, 66, 67, 68, 70, 71, 73, 74, 75, 77, 78 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f.: x^2*(1 + 2*x + x^2 + x^3 + 2*x^4) / ( (x^4 + x^3 + x^2 + x + 1)*(x-1)^2 ). - R. J. Mathar, Dec 04 2011
MATHEMATICA
CoefficientList[Series[x (1 + 2 x + x^2 + x^3 + 2 x^4) / ((x^4 + x^3 + x^2 + x + 1) (x - 1)^2), {x, 0, 60}], x] (* Vincenzo Librandi, Jul 26 2013 *)
#+{0, 1, 3, 4, 5}&/@(7*Range[0, 20])//Flatten (* or *) LinearRecurrence[ {1, 0, 0, 0, 1, -1}, {0, 1, 3, 4, 5, 7}, 80] (* Harvey P. Dale, Jun 05 2019 *)
PROG
(Magma) [n: n in [1..80] | n mod 7 in [0, 1, 3, 4, 5]]; // Vincenzo Librandi, Jul 26 2013
CROSSREFS
Sequence in context: A330993 A184744 A063732 * A184620 A039043 A116591
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 03:59 EDT 2024. Contains 371798 sequences. (Running on oeis4.)