A049625 Congruent to 1, 2, 4, 6, 8 or 9 mod 11, but with 2 instead of 1.
2, 2, 4, 6, 8, 9, 12, 13, 15, 17, 19, 20, 23, 24, 26, 28, 30, 31, 34, 35, 37, 39, 41, 42, 45, 46, 48, 50, 52, 53, 56, 57, 59, 61, 63, 64, 67, 68, 70, 72, 74, 75, 78, 79, 81, 83, 85, 86, 89, 90, 92, 94, 96, 97, 100, 101, 103, 105, 107, 108, 111, 112, 114, 116, 118, 119, 122, 123, 125
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1).
Programs
-
Mathematica
CoefficientList[Series[2 - x*(-2 - 4*x - 4*x^2 - 2*x^3 + x^4)/((1 + x)*(1 + x + x^2)*(x - 1)^2), {x,0,30}], x] (* G. C. Greubel, Dec 15 2017 *)
-
PARI
x='x+O('x^30); Vec(2 -x*(-2-4*x-4*x^2-2*x^3+x^4)/( (1+x)*(1+x+x^2)*(x-1)^2 )) \\ G. C. Greubel, Dec 15 2017
Formula
G.f.: 2 -x*(-2-4*x-4*x^2-2*x^3+x^4)/( (1+x)*(1+x+x^2)*(x-1)^2 ). - R. J. Mathar, Oct 26 2015
Extensions
Terms a(38) onward added by G. C. Greubel, Dec 15 2017
Comments