A147832 Numbers congruent (0,2) mod 14.
0, 2, 14, 16, 28, 30, 42, 44, 56, 58, 70, 72, 84, 86, 98, 100, 112, 114, 126, 128, 140, 142, 154, 156, 168, 170, 182, 184, 196, 198, 210, 212, 224, 226, 238, 240, 252, 254, 266, 268, 280, 282, 294, 296, 308, 310, 322, 324, 336, 338, 350, 352, 364, 366, 378, 380
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (1,1,-1).
Programs
-
Mathematica
Flatten[{#,#+2}&/@(14 Range[0,30])] (* Harvey P. Dale, Dec 25 2010 *)
Formula
Except for the initial term, a(n) = A113801(n-1) + 1.
a(n) = 14*n - a(n-1) - 26 (with a(1)=0). - Vincenzo Librandi, Dec 17 2010
From Bruno Berselli, Dec 17 2010: (Start)
G.f.: 2*x^2*(1+6*x)/((1+x)*(1-x)^2).
a(n) = 2*A047274(n) = (14*n - 5*(-1)^n - 19)/2.
a(n) = 2*(A001106(n-1) - Sum_{i=1..n-1} a(i)) for n > 1. (End)
Extensions
382 replaced with 380 by R. J. Mathar, Jun 28 2010