login
Numbers congruent (0,2) mod 14.
0

%I #23 Aug 01 2019 10:45:19

%S 0,2,14,16,28,30,42,44,56,58,70,72,84,86,98,100,112,114,126,128,140,

%T 142,154,156,168,170,182,184,196,198,210,212,224,226,238,240,252,254,

%U 266,268,280,282,294,296,308,310,322,324,336,338,350,352,364,366,378,380

%N Numbers congruent (0,2) mod 14.

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

%F Except for the initial term, a(n) = A113801(n-1) + 1.

%F a(n) = 14*n - a(n-1) - 26 (with a(1)=0). - _Vincenzo Librandi_, Dec 17 2010

%F From _Bruno Berselli_, Dec 17 2010: (Start)

%F G.f.: 2*x^2*(1+6*x)/((1+x)*(1-x)^2).

%F a(n) = 2*A047274(n) = (14*n - 5*(-1)^n - 19)/2.

%F a(n) = 2*(A001106(n-1) - Sum_{i=1..n-1} a(i)) for n > 1. (End)

%t Flatten[{#,#+2}&/@(14 Range[0,30])] (* _Harvey P. Dale_, Dec 25 2010 *)

%Y Cf. A113801, A047274, A001106.

%K easy,nonn

%O 1,2

%A _Giovanni Teofilatto_, Nov 14 2008

%E 382 replaced with 380 by _R. J. Mathar_, Jun 28 2010