login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047248 Numbers that are congruent to {0, 2, 3, 4, 5} mod 6. 2
0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).

FORMULA

G.f.: x^2*(2+x+x^2+x^3+x^4) / ( (x^4+x^3+x^2+x+1)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011

MATHEMATICA

Rest[CoefficientList[Series[x^2*(2 + x + x^2 + x^3 + x^4)/((x^4 + x^3 + x^2 + x + 1)*(x - 1)^2), {x, 0, 50}], x]] (* G. C. Greubel, Nov 02 2017 *)

DeleteCases[Range[0, 70], _?(Mod[#, 6]==1&)] (* or *) Complement[ Range[ 0, 70], Range[1, 70, 6]] (* Harvey P. Dale, Dec 30 2017 *)

PROG

(PARI) x='x+O('x^50); concat([0], Vec(x^2*(2+x+x^2+x^3+x^4)/((x^4 +x^3 +x^2 +x+1)*(x-1)^2))) \\ G. C. Greubel, Nov 02 2017

CROSSREFS

Sequence in context: A032798 A195122 A184520 * A114024 A030173 A048265

Adjacent sequences:  A047245 A047246 A047247 * A047249 A047250 A047251

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

STATUS

approved

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 December 6 08:53 EST 2019. Contains 329788 sequences. (Running on oeis4.)